display_attributes icon_size constraint
Allows you to specify the size the Adams View constraint icons will appear.
Format:
display_attributes icon_size constraint |
|---|
constraint_name = | an existing constraint |
scale_of_icons = | real |
size_of_icons = | length |
Example:
display_attributes icon_size constraint & |
|---|
constraint_name = | .crankshaft.drivermotion.motion_r2 & |
size_of_icons = | 0.9 |
Description:
Parameter | Value Type | Description |
|---|
constraint_name | An Existing Constraint | Specifies the constraint to be modified. You use this parameter to identify the existing constraint to be affected with this command. |
scale_of_icons | Real | Specifies a unit-less scale factor to be applied to the current icon size. |
size_of_icons | Length | Specifies the size, in modeling units, the Adams View icons will appear in. |
Extended Definition:
1. You may set a specific size for icons in modeling units, or scale their present size with a unit-less scale factor.
If no initial size is specified for Adams View icons, the default size will be one modeling LENGTH unit. For example, if the modeling units are K/M/S, a revolute joint icon will be one meter in diameter.
When you specify an ICON_SCALE, a new size is calculated by multiplying the current size, by the scale, and storing the product as the new ICON_SIZE.
If a model has an ICON_SIZE set, and a constraint under that model has a different ICON_SIZE, the model's ICON_SIZE will take precedence.
For Example:
.model ---------------------- ICON_SIZE = .25 meters .constraint-------------- ICON_SIZE = .125 meters
The constraint's icon will be .25 meters is size.
If the model has an ICON_SIZE of 0.0 set, and a constraint under the model has an ICON_SIZE of .125, the constraint's ICON_SIZE will be used.
For Example:
.model ---------------------- ICON_SIZE = 0.0 meters .constraint-------------- ICON_SIZE = .125 meters
The constraint's icon will be .125 meters is size.
2. You may identify a constraint by typing its name or by picking it from the screen.
If the constraint is not visible on the screen, you must type the name. You may also find it convenient to type the name even if the constraint is displayed.
If you created the constraint by reading an Adams data set, the constraint name is the first three letters of the Adams statement type followed by the Adams data set constraint ID number. For example, the name of Adams JOINT/101 is JOI101. If you created the constraint during preprocessing, you will have given it a name at that time.
If a constraint 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 constraint under a different model, for instance, you may need to enter the model name as well. For example, you may specify constraint 'servo_motor' from model 'test' by entering ".test.servo_motor". If you type a "?", Adams View will list the constraints available by default.
You must separate multiple constraint names by commas.
3. If no initial size is specified for Adams View icons, the default size will be one modeling LENGTH unit. For example, if the modeling units are K/M/S, a part axes icon will have triad legs of one meter in length.
When you specify SCALE_OF_ICONS, a new size is calculated by multipling the current size, by the scale, and storing the product as the new ICON_SIZE.
4. If no initial size is specified for Adams View icons, the default size will be one modeling LENGTH unit. For example, if the modeling units are K/M/S, a part axes icon will have triad legs of one meter in length.
When you set SIZE_OF_ICONS at the model level, all Adams View icons used in creating a model will use the size specified.
If the model has an SIZE_OF_ICONS set, and a part under that model has a different SIZE_OF_ICONS, the model's ICONS_SIZE will take precedence.
For Example:
.model ---------------------- SIZE_OF_ICONS = .15 meters
.part-------------------- SIZE_OF_ICONS = .125 meters
The part's icon will be 1.5 meters is size.
If the model has SIZE_OF_ICONS of set to 0.0 , and a part under that model has a SIZE_OF_ICONS set to .125, the part's icon size will be used.
An Example:
.model ---------------------- SIZE_OF_ICONS = 0.0 meters
.part-------------------- SIZE_OF_ICONS = .125 meters
The part's icon will be .125 meters is size.
Tips:
1. If the constraint 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 constraint picks by commas.