display_attributes color model

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

Format:

 
display_attributes color model
model_name =
an existing model
color =
an existing color
entity_scope =
color_scope

Example:

 
display_attributes color model &
model_name =
crankshaft &
color =
blue &
entity_scope =
edge_color

Description:

 
Parameter
Value Type
Description
model_name
An Existing Model
Specifies the model to be modified. You use this parameter to identify the existing model 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 MODEL keyword indicates that you can specify a default color for all graphics associated with the model.
You can specify a "scope" for the color you select using the ENTITY_SCOPE parameter. This scope will limit the color's application to: FILL_COLOR, EDGE_COLOR, OUTLINE_COLOR, or ALL_COLOR.
Color set on a modeling entity will be enforced down the model hierarchy, to any lower entities in the hierarchy.
If an entity at a lower level has a color applied to it, and an entity above it in the model hierarchy has the same attribute, the highest level entity's color will take precedence.
For example:
.model --------------- color = red
.part ------------ color = no_color
.marker ------- color = blue
The model's color attribute will be enforced on the entities below it, cancelling out the color attribute set on the marker. Both the part, which has no color attribute, and the marker's color will be red.
 
Note:  
Adams View will issue a warning message, reminding you that the attribute has been stored, but the attribute from an entity at a higher level will take precedence.
In the example, if the attribute is removed from the model, the attribute stored with the marker will be enforced.
You remove a color attribute from a database entity by setting its color to NO_COLOR.
.model --------------- color = no_color
.part ------------ color = no_color
.marker ------- color = blue
The marker color will now be blue
2. You may identify a model by typing its name or by picking it from the screen.
If the model is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the model is displayed.
You must separate multiple model names by commas.
If the model 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 model picks by commas.
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. 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.