*groupcreatesameas

Creates a new group using an existing group’s dictionary/attribute data and type information.

Syntax

*groupcreatesameas newname existingname color

Type

HyperMesh Tcl Modify Command

Description

Creates a new group using an existing group’s dictionary/attribute data and type information.

Inputs

newname
The name of the group to be created.
existingname
The name of the group to copy dictionary/attribute information from.
color
The color of the group.

Example

To create a new group back using the information in the group front, and color 12:
*groupcreatesameas("back","front",12)

Main and secondary elements and/or other definition methods/information are not copied to the new group when you use this command. Only the attributes/dictionary information and the type information are copied.