Adams Basic Package > Adams View > View Command Language > display_attributes > display_attributes visibility model

display_attributes visibility model

Allows you to set the visibility of an existing model in Adams View.

Format:

 
display_attributes visibility model
model_name =
an existing model
visibility =
on_off_with_toggle
name_visibility =
on_off_with_toggle

Example:

display_attributes visibility model &
model_name =
crankshaft &
visibility =
on &
name_visibility =
on

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.
visibility
On_Off_With_Toggle
Specifies the visibility of graphic entities.
name_visibility
On_Off_With_Toggle
The NAME_VISIBILITY parameter provides control over the visibility of the view name displayed at the top center position of a given view.

Extended Definition:

1. When you set an attribute on a modeling entity, that attribute gets stored with the entity in the database. There are rules for the application of these attributes.
Visibility applied to any modeling entity will be enforced down the modeling hierarchy in the following fashion.
A visibility attribute setting of ON, allows that entity to be drawn.
This means if you set visibility=on for a marker, but its parent part has a visibility setting of off, the marker will not be visible.
A visibility setting of OFF, turns that entity's visibility off and has the effect of turning visibility off for all modeling entities below it.
An Example:
.model ---------------- visibility = on
.part ------------- visibility = off
.marker -------- visibility = on
The marker will not be visible because the part is not visible.
By default, all entities have a visibility attribute of ON, when created.
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. 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. The legal values of the name_visibility parameter are ON and OFF. This is an optional parameter and if not entered, the name will be visible (i.e. will be ON).
Note that if the visibility of the view name is turned off, the only indication that a view is "active" will be the color of the viewport border. This would be a problem on a black and white monitor.