*hf_setpartflangecomponent
Moves the specified entities to the specified component and sets them as flange or part.
Syntax
*hf_setpartflangecomponent suffix color entity_type mark_id flag_FL flag_part
Type
HyperMesh Tcl Modify
Description
This command moves the specified entities to the specified component and sets them as flange or part.
Inputs
- suffix
- The component suffix.
- color
- The component color. Valid values are 1 through 64.
- entity_type
- The type of entities to consider. Must be set to elems.
- mark_id
- The mark ID containing the entities. Valid values are 1 and 2.
- flag_FL
- Flag that indicates whether to set the elements as a flange. Valid values are:
- 0 - Do not set as a flange.
- 1 - Set as a flange.
- flag_part
- Flag that indicates whether to set the elements as a part. Valid values are:
- 0 - Do not set as a part.
- 1 - Set as a part.
Example
To set elements 50-100 like a flange into a component with suffix
"FL":
*createmark elems 1 50-100
*hf_setpartflangecomponent "FL" 11 elems 1 1 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
11.0