*copymark
Copies entities from one collector to another.
Syntax
*copymark entity_type mark_id name
Type
HyperMesh Tcl Modify
Description
Copies entities from one collector to another.
Inputs
- entity_type
- Entity type to copy. Any collected entity type (aside from master/slave elements) is valid.
- mark_id
- The ID of the mark containing the entities to copy. Valid values are 1 and 2.
- name
- The name of the collector to copy the entities to. The collector type is determined by the entity_type.
Examples
To copy all elements in comp1 to
comp2:
*createmark elems 1 "by collector name" comp1
*copymark elems 1 comp2
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}