display_attributes color part

Allows you to control the color of graphic entities associated with a part.

Format:

 
display_attributes color part
part_name =
an existing part
equation_name =
an existing equ
color =
an existing color
entity_scope =
color_scope

Example:

 
display_attributes color part &
part_name =
part__1 &
color =
blue &
entity_scope =
edge_color

Description:

 
Parameter
Value Type
Description
model_name
An Existing Part
Specifies the part to be modified. You use this parameter to identify the existing part to be affected with this command.
equation_name
An Existing Equ
Specifies the equation to be modified. You use this parameter to identify the existing equation to be affected with this command.
COLOR
An Existing Color
Specifies the color the modeling entity should be drawn in.
entity_scope
Color_Scope
The ENTITY_SCOPE parameter is used to control how a color modification is to affect a particular graphic entity.

Extended Definition:

1. The PART keyword indicates that the color of the graphic components associated to a particular part are to be affected by the current command. The color of the graphics associated to a part can be affected all at once or individually (The smallest graphic entity that can be affected is that defined by the Adams GRAPHICS statement). The scope of the color change to a particular graphic entity can be controlled as well. The ENTITY_SCOPE can be set to the FILL_COLOR, the EDGE_COLOR, the LINE_COLOR, or ALL.
The part or graphic entity is identified by the ID label associated to the Adams PART or GRAPHICS statement respectively. The desired part or graphic is communicated to the application either by entering the label from the keyboard or picking the particular graphic from the terminal screen using the cursor (mouse).
2. You may identify a part by typing its name or by picking it from the screen.
If the part is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the part is displayed.
If you created the part by reading an Adams data set or graphics file, the part name is the letters PAR followed by the Adams data set part ID number. For example, the name of Adams PART/101 is PAR101. If you created the part during preprocessing, you will have given it a name at that time.
If a part is available by default, you may identify it by entering only its name. If it is not, you must enter its full name. To identify a part under another model, for instance, you may need to enter the model name as well. For example, you may specify part 'arm' from model 'robot' by entering ".robot.arm". If you type a "?", Adams View will list the parts available by default.
You must separate multiple part names by commas.
3. You may identify an equation by typing its name or by picking it from the screen.
Since equations do not have a geometric position, Adams View displays equation icons at the model origin. If the equation 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 equation icon is displayed.
If you created the equation by reading an Adams data set or graphics file, the equation name is the letters DIF followed by the Adams data set equation ID number. For example, the name of Adams DIFF/101 is DIF101. If you created the equation during preprocessing, you will have given it a name at that time.
If a equation is available by default, you may identify it by entering its name only. If it is not, you must enter its full name. To identify a equation under a different model, for instance, you may need to enter the model name as well. For example, you may specify equation 'fluid_volume' from model 'hydro' by entering ".hydro.fluid_volume'". If you type a "?", Adams View will list the equations available by default.
You must separate multiple equation names by commas.
4. 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.
5. The legal values for the entity_scope parameter are FILL_COLOR, EDGE_COLOR, OUTLINE_COLOR, and ALL. FILL_COLOR is the color of those areas of a graphic that can be shaded (they include sides of a cylinders, frustums, boxes, etc.). The EDGE_COLOR is the color of the lines making up the edges of the facets (or areas filled by the FILL_COLOR) of a graphic that can be shaded.
The OUTLINE_COLOR represents the color of the lines that make up those graphics that can not be shaded or filled, like an outline graphic statement consisting of two points or the coil of a springdamper.
Finally, the ALL value indicates that all three entity types, FILL_COLOR, EDGE_COLOR, and OUTLINE_COLOR will be affected by the color change.
The ENTITY_SCOPE parameter is optional and if not entered, will be set to FILL_COLOR.

Tips:

1. If the part is visible in one of your views, you may identify it by picking on any of the graphics associated with it.
2. You need not separate multiple part picks by commas.