*movemark
Organizes entities into collectors.
Syntax
*movemark entity_type mark_id name
Type
HyperMesh Tcl Modify
Description
Moves entities from one collector to another.
Inputs
- entity_type
- The type of entity to move. Any collected entity type (aside from master/slave elements) is valid.
- mark_id
- The ID of the mark containing the entities to move. Valid values are 1 and 2.
- name
- The name of the collector to move the entities to. The collector type is determined by the entity_type.
Example
To move all elements from comp1
to comp2
:
*createmark elems 1 "by collector name" comp1
*movemark 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
}