*includeentitiesfortransformation
Includes connected entities while transforming source entities.
Syntax
*includeentitiesfortransformation ?option1=<value1>? ?option2=<value2>? ... ?optionN=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Includes connected entities like constraints while transforming other entities like components or elements. Only constraint entities are supported for “include” option currently.
Inputs
- transformation=<value>
- The type of transformation. Valid values are move, mirror, and scale.
- source=<value>
- The type of the source entity being transformed. Valid values are components and elements.
- include=<value>
- The type of entity to be included while performing transformation. Currently only supported for constraints.
- flag=<value>
- Flag to indicate whether to register or unregister an entity type.
Examples
To include connected Constraints while moving the
Components:
*includeentitiesfortransformation transformation=move source=components include=constraint flag=1
To exclude connected Constraints while scaling the
Elements:
*includeentitiesfortransformation transformation=scale source=elements include=constraint flag=0
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