*copymarkgroup

Copies master/slave elements from one group to another.

Syntax

*copymarkgroup entity_type mark_id name

Type

HyperMesh Tcl Modify

Description

Copies master/slave elements from one group to another.

Inputs

entity_type
Must be set to elems.
mark_id
The ID of the mark containing the master/slave elements to copy. Valid values are 1 and 2.
name
The name of the group to copy the entities to.

Examples

To copy all elements in group1 to group2:
*createmark elems 1 "by group name" group1
*copymarkgroup elems 1 group2

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

10.0