*duplicateentities
Duplicates elems, nodes and comps along with any attached loads.
Syntax
*duplicateentities entity_type input_mark_id output_mark_id ?option1=<value1>? ?option2=<value2>? ... ?optionN=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Duplicates elems, nodes and comps along with any attached loads.
Inputs
- entity_type
 - The entity type to duplicate. Valid values are elements, components and nodes.
 - input_mark_id
 - The mark ID containing the entities to duplicate. Valid values are 1 and 2.
 - output_mark_id
 - The mark ID containing the new entities. Valid values are 1 and 2.
 - option=<value>
 - The following options are available:
- destcomponent=<value>
 - Required option.
- 1 - New component.
 - 2 - Current component.
 
 
- transformloads=<value>
 - 0 - Do not transform loads (default).
 
- destloadcol=<value>
 - Valid only if transformloads is 1. Required option.
- 1 - New load collector.
 - 2 - Current load collector.
 
 
- reverseloads=<value>
 - Valid only if transformloads is 1.
- 0 - Do not reverse loads (default).
 - 1 - Reverse loads.
 
 
 
Examples
*createmark elems 1 1
*duplicateentities elems 1 2 destcomponent=2*createmark elems 1 all
*duplicateentities elems 1 2 transformloads=1 destcomponent=1 destloadcol=Errors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
14.0