*hf_setpartcomponent
Sets the specified component like the die module main part.
Syntax
*hf_setpartcomponent entity_type mark_id
Type
HyperMesh Tcl Modify Command
Description
This command sets the specified component like the die module main part.
Inputs
- entity_type
- The entity type. Must be set to comps.
- mark id
- The mark ID containing the component. Valid values are 1 and 2.
Example
To set component ID 22 like the die module main
part:
*createmark comps 1 22
*hf_setpartcomponent comps 1
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