geometry attributes

Allows the specification of attributes to be set on individual pieces of geometry or a group of geometry.

Format:

 
geometry attributes
geometry_name =
an existing geometric entity
visibility =
on_off_with_toggle
color =
an existing color
entity_scope =
color_scope
render_mode =
render_mode
active =
on_off_no_opinion
dependents_active =
on_off_no_opinion

Example:

 
geometry attributes &
geometry attributes geometry_name =
link_56 &
geometry attributes visibility =
on &
geometry attributes transparency =
20 &
geometry attributes color =
black &
geometry attributes render_mode =
filled

Description:

 
Parameter
Value Type
Description
geometry_name
An Existing Geometric Entity
Specifies the geometry to modify.
visibility
On_off_with_toggle
Specifies the visibility of graphic entities.
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.
render_mode
Render_mode
This command specifies the rendering mode of individual or groups of graphic objects
active
On_off_no_opinion
When you set ACTIVE=NO, that element is written to the data set as a comment
dependents_active
On_off_no_opinion
When you set ACTIVE=NO, that element is written to the data set as a comment.

Extended Definition:

1. You can set the following attributes on a marker.
- VISIBILITY. You may set an individual geometric entity's visibility ON, OFF or TOGGLE the current setting. When you set a piece of geometry's visibility OFF, the geometry will not be drawn. When you set a piece of geometry's visibility ON, you allow that geometry to be drawn.
- COLOR. You may set the color of a piece of geometry with this parameter.
- ENTITY_SCOPE. This parameter is used in conjunction with COLOR, to limit the application of the color.
- RENDER_MODE. You may choose a rendering mode for geometry. When you choose a render_mode of FILLED, the geometry chosen can be displayed as shaded, filled or in wireframe; depending on the render_mode of the view in which it is displayed. When you choose WIREFRAME, you limit the rendering of this piece of geometry to only wireframe.
If an entity does not have a GRAPHICS ATTRIBUTE setting, the value for that GRAPHIC ATTRIBUTE may be inherited from another entity.
INHERITANCE may be either TOP_DOWN or BOTTOM_UP.
BOTTOM_UP and TOP_DOWN refer to the natural hierarchy of the Adams model. The hierarchy is a tree structure with the model at the apex. Parts exist beneath the model, and markers exist beneath the parts. If the icon size of the model is set to 0.1, and the default INHERITANCE is set to TOP_DOWN, then all icons displayed within the model will be displayed at this size. However, if the icon size of a model is set to 0.1, and then the default INHERITANCE is set to BOTTOM_UP, then any icons set to a size other than the model's icon size will be displayed at their own size.
2. You use this parameter to identify the existing geometry to affect with this command.
You may identify geometry by typing its name or by picking it from the screen.
If the geometry is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the geometry is displayed.
If geometry 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 geometry under another model, for instance, you may need to enter the model and part names as well. For example, you may specify arc 'end' on part 'arm' in model 'susp' by entering ".susp.arm.end". If you type a "?", Adams View will list the geometrys available by default.
You must separate multiple geometry names by commas.
If the geometry is visible in one of your views, you may identify it by picking on any of the graphics associated with it.
3. 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.
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 this 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.
6. The render mode is an attribute that is attached to each of the specific graphic entities and works in tandem with a view's RENDER attribute (see below).
Graphic objects that can have their rendering mode altered include:
arcs, outlines, boxes, circles, cylinders, frustums, and spring damper graphics.
The selection of graphic objects can be based on association to a particular analysis, part, or by individual graphic name. When the rendering mode of a part is specified, all graphic objects fixed to that part are drawn with the rendering mode of the part. Graphics that span parts can only be selected by graphic name.
Adams View supports WIREFRAME and FILLED rendering modes.
This command should not be confused with the VIEW MANAGEMENT... RENDER parameter. The RENDER parameter in view control sets an attribute associated with a particular view. So, if the view render mode is wireframe, all the graphics will be drawn in wireframe mode regardless of the value of a specific graphic object's render mode attribute. However, if the view render mode is set to SOLIDS or SHADED, then a specific graphic entity will be drawn in the mode specified by the DISPLAY_ATTRIBUTES RENDER_MODE command. In other words, the view RENDER parameter is an attribute of the view and the display_attribute render mode is an attribute of the specific graphic element. Or, WIREFRAME is the dominant mode and regardless of how it is set (either RENDER by view or RENDERING_MODE by graphic object).
7. 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
8. 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

Cautions:

You need not separate multiple geometry picks by commas.

Tips:

The ENTITY_SCOPE parameter is optional and if not entered, will be set to FILL_COLOR.