Adams Basic Package > Adams View > View Command Language > group > group objects add group objects attributes

group objects add

Allows you to add objects to an Adams View group.

Format:

 
group objects add
group_name =
existing group
objects_in_group =
existing entities
expand_groups =
yes/no
type_filter =
entity type

Example:

 
group objects add &
group_name =
pendulum_parts &
objects_in_group =
.model_1.part_2, .model_1.part_3 &
type_filter =
part

Description:

 
Parameter
Value Type
Description
Group_name
Existing Group Name
Specifies the group to be modified. You use this parameter to identify the existing group to be affected with this command.
Objects_in_group
Existing Entity/entities
Specifies the objects to be added or removed from the group.
Expand_groups
Yes, No
Specifies a Boolean value.
Type_filter
Entity Type
Specifies the type of objects allowed.

Extended Definition:

1. The “objects_in_group” parameter takes one or more of any existing Adams View objects.
If a wildcard is used to specify the objects, the TYPE_FILTER parameter can be used to accept only objects of a particular type.
2. When specifying the objects for the “type_filter” operation a wild cards can be used, which may result in too many objects being found. For example, if all the parts for model MOD1 are desired, specifying .MOD1.* will get not only the parts, but all children of the model, like joints, forces and so on. Using the parameter TYPE_FILTER=part will result in only the parts being processed by this command.

group objects attributes

Allows the specification of attributes on all objects in a group which can take attributes.

Format:

 
group objects attributes
group_name =
an existing group
scale_of_icons =
real
size_of_icons =
real
visibility =
on_off_with_toggle
name_visibility =
on_off_with_toggle
color =
an existing color
line_thickness =
real
line_type =
line_style
entity_scope =
color_scope
active =
on_off_no_opinion
dependents_active =
on_off_no_opinion
type_filter =
ent

Example:

 
group objects attributes &
group_name =
group_1 &
scale_of_icons =
0.90 &
visibility =
on &
name_visibility =
on &
color =
blue &
line_thickness =
0.19 &
line_type =
dash &
entity_scope =
fill_color &
active =
on d &
dependents_active =
on &
type_filter =
color

Description:

 
Parameter
Value Type
Description
group_name
An Existing Group
Specifies the group to be modified. You use this parameter to identify the existing group to be affected with this command.
scale_of_icons
Real
Specifies a unit-less scale factor to apply to the current icon size.
size_of_icons
Real
Specifies the size, in modeling units, the Adams View icons will appear in.
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.
color
An Existing Color
Specifies the color the modeling entity should be drawn in.
line_thickness
Real
Specifies the thickness of the line for a curve
line_type
Line_style
This parameter allows the selection of the line type for a curve.
entity_scope
Color_scope
The ENTITY_SCOPE parameter is used to control how a color modification is to affect a particular graphic entity.
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
Specifies whether children of the objects are to be acted upon in the same way as the active parameter does.
type_filter
Ent
Specifies the type of objects allowed.
transperency
Integer
Sets the transparency

Extended Definition:

1. You may identify a group by typing its name.
If a group is available by default, you may identify it by entering only its name. If it is not, you must enter its full name. If you type a "?", Adams View will list the group available by default.
You must separate multiple group names by commas.
2. 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 multiplying the current size, by the scale, and storing the product as the new ICON_SIZE.
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 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.
For Example:
.model ---------------------- SIZE_OF_ICONS = 0.0 meters
.part -------------------- SIZE_OF_ICONS = .125 meters
The part's icon will be .125 meters is size.
4. Specifies the visibility of graphic entities. 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 entity’s visibility and reverse it.