defaults attributes

This command allows you to specify the GRAPHIC ATTRIBUTES INHERITANCE algorithm used by Adams View.

Format:

 
defaults attributes
inheritance =
up_down
icon_visibility =
on/off
size_of_icons =
real number
grid_visibility =
on/off
endcap_visibility =
on/ off
spacing_for_grid =
real number
screen_font =
font name
postscript_font =
font name
dimming_factor =
real number

Example:

 
defaults attributes &
inheritance =
bottom_up &
icon_visibility =
on &
size_of_icons =
0.2 &
grid_visibility =
on &
endcap_visibility =
off &
spacing_for_grid =
0.2 &
screen_font =
"--Arial-Normal " &
postscript_font =
times_roman &
dimming_factor =
0.2

Description:

 
Parameter
Value Type
Description
inheritance
Up_down
Specifies the graphics attributes INHERITANCE algorithm to be used by Adams View.
icon_visibility
On_off
Specifies whether or not to display icons.
size_of_icons
Length
Allows you to specify the size the Adams View icons will appear.
grid_visibility
On_off_with_toggle2
The GRID_VISIBILITY parameter provides control over the visibility of the grid in all views.
endcap_visibility
On_off_with_toggle2
 
spacing_for_grid
Length
The SPACING_FOR_GRID parameter provides control over the spacing between the individual grid points for all views.
screen_font
String
This parameter controls the device dependent font to be used when drawing any bitmapped text on the screen.
postscript_font
Postscript_fonts
This parameter controls the font to be used when drawing any bitmapped text for a hardcopy output.
dimming_factor
Real
Sets the level of dimming desired for objects which have been deactivated via the ACTIVE attribute.

Extended Definition:

1. GRAPHIC ATTRIBUTES may be applied to almost any entity that may be created in Adams VIEW. If an entity does not have a GRAPHICS ATTRIBUTE setting, the value for that GRAPHIC ATTRIBUTE may be inherited from another entity.
2. The rules of INHERITANCE are either TOP_DOWN or BOTTOM_UP. This means that the attributes are assumed from the children up to the parents (i.e. BOTTOM_UP), or, from the parents down to the children (i.e. TOP_DOWN). For example, in INHERITANCE=BOTTOM_UP, if the visibility of a marker is set on, it will override the visibility of the markers parent part when the part visibility is set to off. Also, in INHERITANCE=TOP_DOWN, if the color of a part is set to red, it will override the color set for a green marker and the marker will appear red.
3. GRAPHICS ATTRIBUTES include color, visibility, name visibility, render mode, and icon size.
4. Turning the default icon visibility off will result in no icons being displayed, even if they are set to ON individually. If the default icon visibility is OFF, the visibility of each icon will be determined by the visibility on that ICON.
5. If you set ICON_SIZE at the model level or at the lower modeling levels of part, marker, constraint, and force, that values will take precedence.
6. If the visibility of the grid is set for a particular view with the VIEW MANAGE MODIFY GRID_VISIBILITY command, that setting will be used instead of the default setting. To specify that the default grid visibility is to be used, enter the command VIEW MANAGE MODIFY GRID_VISIBILITY=NO_OPINION
7. If the spacing of the grid is set for a particular view with the VIEW MANAGE MODIFY SPACING_FOR_GRID command, that setting will be used instead of the default setting. To specify that the default grid visibility is to be used, enter the command VIEW MANAGE MODIFY SPACING_FOR_GRID=0
8. Using question mark help (typing a '?' or selecting the ? button) for this parameter will display a list of the available fonts. This parameter does not control the type of font that will be used for hardcopy output. See the POSTSCRIPT_FONT parameter for information on controlling fonts for hardcopy output.
9. A zero value for the dimming factor will make the objects black, while a dimming factor of 1.0 will cause deactivated objects to appear the same color as active objects.