*positionmark
Positions a selection of entities in space.
Syntax
*positionmark entity_type mark_id node1 node2 node3 node4 node5 node6
Type
HyperMesh Tcl Modify
Description
This command positions a selection of entities in space.
Inputs
- entity_type
- The type of entity to position.
- mark_id
- The ID of the mark containing the entities. Valid values are 1 and 2.
- node1-node6
- The IDs of the nodes used to position the entities. The positioning attempts to align the first three nodes (1-3) to the second three nodes (4-6).
Example
To position component wheel using nodes 10-15:
*createmark comps 1 wheel
*positionmark comps 1 10 11 12 13 14 15
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}