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

display_attributes visibility force

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

Format:

 
display_attributes visibility force
force_name =
an existing force
visibility =
on_off_with_toggle
name_visibility =
on_off_with_toggle

Example:

display_attributes visibility force &
force_name =
force__1 &
visibility =
on &
name_visibility =
on

Description:

 
Parameter
Value Type
Description
force_name
An Existing Force
Specifies the force to be modified. You use this parameter to identify the existing force 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.
For 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 force by typing its name or by picking it from the screen.
If the force is not visible on the screen, you must type the name.
You may also find it convenient to type the name even if the force is displayed.
If you created the force by reading an Adams data set or graphics file, the force name is the first three letters of the Adams statement followed by the Adams data set force ID number. For example, the name of Adams SFORCE/101 is SFO101. If you created the force during preprocessing, you will have given it a name at that time.
If a force 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 force under a preprocessing model, for instance, you may need to enter the model name as well. For example, you may specify the force named 'bumper' from the model named 'test' by entering ".test.bumper". If you type a "?", Adams View will list the forces available by default.
You must separate multiple force names 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 (that is, 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.

Tips:

1. If the force 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 force picks by commas.