executive_control attributes sensor
Allows you to change the color and visibility of a sensor icon.
Format:
executive_control attributes sensor |
|---|
Sensor_name = | existing sensor |
Visbility = | on/off/no_opinion/toggle |
Color = | an existing color |
Active = | on/off/no_opinion/toggle |
Dependents_active = | on/off/no_opinion/toggle |
Example:
Executive_control attributes sensor & |
|---|
Sensor_name = | SENSOR_1 & |
Visbility = | on & |
Color = | RED & |
Active = | on & |
Dependents_active = | off |
Description:
Parameter | Value Type | Description |
|---|
Sensor_name | Existing sensor name | Specifies an existing sensor. |
Visibility | On/off/no_opinion/toggle | Specifies the visibility of graphic entities. |
Color | Existing color | Specifies the color the modeling entity should be drawn in. |
Active | On/off/no_opinion/toggle | When you set ACTIVE=NO, that element is written to the data set as a comment. |
Dependents_active | On/off/no_opinion/toggle | Sets the active attributes for the dependents, all the way down the dependency chain. |
Extended Definition:
1. You may identify a sensor by typing its name or by picking it from the screen.
Since sensors do not have a geometric position, Adams View displays sensor icons at or near the model origin. If the sensor icon is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the sensor icon is displayed.
If you created the sensor by reading an Adams data set, the sensor name is the letters SEN followed by the Adams data set sensor ID number. The name of Adams SENSOR/101 is SEN101, for example. If you created the sensor during preprocessing, you gave it a name at that time.
If a sensor is owned by the default model, you may identify it by entering its name only. If it is not, you must enter its full name. To identify a sensor under a different model, for instance, you may need to enter the model name as well. For example, you may specify sensor 'fluid_volume_limit' from model 'hydro' by entering ".hydro.fluid_volume_limit'". If you type a "?", Adams View will list the sensor available by default.
You must separate multiple sensor names by commas.
If the sensor is visible in one of your views, you may identify it by picking on any of the graphics associated with it.
You need not separate multiple sensor picks by commas.
2. The visibility parameter is used to control whether graphic entities, such as markers, joints, and parts, are to be drawn in an Adams View viewport. The legal values for this parameter are: ON, OFF, and TOGGLE. ON will make the desired entity visible. OFF will make the desired entity invisible. TOGGLE will take the current state of an entities visibility and reverse it.
3. Adams View allows you to specify the following colors for modeling entities: BLACK, WHITE, RED, GREEN, BLUE, CYAN, MAGENTA, YELLOW, and NO_COLOR
Specifying 'NO_COLOR' for a modeling entity, instructs Adams View to use the default color for this entity, if there is no color present in its parent modeling entity.
Example 1: .model -------------------------NO_COLOR .part
---------------------- RED .geometry(circle) ------- NO_COLOR
The circle will be RED.
Example 2: .model -------------------------NO_COLOR .part
---------------------- RED .geometry(circle) ------- BLUE
If a parent modeling entity has a color previously specified, that color takes precedence. Adams View will issue a warning message about color precedence. The circle will be RED.
Example 3: .model -------------------------NO_COLOR .part
---------------------- NO_COLOR .geometry(circle) ------- BLUE
The circle will be BLUE.
4. When you set the ACTIVE attribute on an object, you are also setting it on the children of the object. If you set ACTIVE=NO on a part, but wish for a marker on that part to be on, then you must explicitly set ACTIVE=YES on the marker, after setting activation on the part.
The DEPENDENTS_ACTIVE parameter acts in the same fashion, but sets the ACTIVE attribute for the dependents, all the way down the dependency chain. For example, if you execute the following command:
PART ATTRIBUTES PART=PAR1 DEPENDENTS_ACTIVE=NO
Where PAR1 has a marker MAR1 which is the I marker of a joint JOI1 (which has a J marker MAR2), then JOI1 will be deactivated.
Also, if the joint JOI1 is referenced in a request function, or if the I marker is referenced by a request, then the request will be deactivated.
Propagation of activation status through groups is as if each element were to have its activation status changed indvidually.
Elements affected are:
■Group
■Part
■Differential Equation
■Marker
■Geometry
■Constraints
■Forces
■Data Elements
■Output Control