*detach_entities
Detaches entities like constraints as a unit from selected elements or nodes, using the specified offset value.
Syntax
*detach_entities ?option1=<value1>? ?option2=<value2>? ... ?optionN=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Detaches entities like constraints as a unit from selected elements or nodes, using the specified offset value.
Inputs
- DetachMark=<value>
- The ID of the mark containing the entities like constraints to be detached. Valid values are 1 and 2.
- FromMark=<value>
- The ID of the mark containing the entities from which the entities like constraints will be detached. Valid values are 1 and 2.
- DetachType=<value>
- The type of the entities to be detached.
- FromType=<value>
- The type of entity from which the entities like constraints will be detached. Valid values are elements and nodes.
- Offset=<value>
- The offset value of the newly detached nodes.
Examples
To detach constraint named constraint1 and constraint2 from
nodes:
*createmark constraints 1 "constraint1" "constraint2"
*createmark nodes 2
*detach_entities DetachMark=1 DetachType=constraints FromMark=2 FromType=nodes offset=1.000000
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
2024.1