*CE_MarkRemoveLinkMark

Remove link entities of a specific type and ID or name from the connectors on mark.

Syntax

*CE_MarkRemoveLinkMark mark_id link_type link_mark_id update_layer_option

Type

HyperMesh Tcl Modify Command

Description

Remove link entities of a specific type and ID or name from the connectors on mark.

Inputs

mark_id
The ID of mark for the connectors to be modified. Valie values are 1 or 2.
link_type
Specific link type to search in the connector.
link_mark_id
The ID of mark for the links to be removed. Valie values are 1 or 2.
update_layer_option
Option to update the number of layers after removing links from the connectors:
0 - Do not update
1 - Update number of layers for connectors

Examples

To remove component with ID 3 from connectors with IDs 1,2 and 4:

*createmark connectors 1 1 2 4
*createmark components 2 component3
*CE_MarkRemoveLinkMark 1 components 2 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

2019