*CE_MarkRemoveLink

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

Syntax

*CE_MarkRemoveLink ce_mark option linktype link_id link_name

Type

HyperMesh Tcl Modify Command

Description

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

Inputs

ce_mark
Mark of connectors.
option
Specifies if all the links in the connector or a specific link needs to be removed.
  • 0 - Remove all links in the connector.
  • 1 - Remove the link specified by type and ID/name.
linktype
Specific link type to search in the connector. If link ID/name is not specified, the first link found with the same type defined by proximity rule is removed.
link_id
Link ID to remove from connector. This is optional, if the name is specified.
link_name
Link name to remove from the connector. This is optional, if the ID is specified.

Examples

To remove all links from the displayed connectors:
*createmark connectors 1 "displayed" 
*CE_MarkRemoveLink 1 0 0 0 ""
To remove the component with ID 10 from the displayed connectors:
*createmark connectors 1 "displayed"
*CE_MarkRemoveLink 1 1 comps 10 ""