*CE_ConvertLinksByMark
Converts connector links to a new entity type.
Syntax
*CE_ConvertLinksByMark mark_id target_entity_type link_index
Type
HyperMesh Tcl Modify
Description
Converts connector links to a new entity type.
Inputs
- mark_id
- The ID of the mark containing the connectors to update. Valid values are 1 and 2.
- target_entity_type
- The entity type to which the link is converted. Valid values are:
- link_index
- The index of the link to be converted, starting from 0.
Examples
The index of the link to be converted, starting from 0. If given as -1, all links are
converted.
*createmark connectors 1 1
*CE_ConvertLinksByMark 1 parts 0
To convert all links of connector 3 to part
links:
*createmark connectors 1 3
*CE_ConvertLinksByMark 1 parts -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
14.0