*CE_RemoveLink
Remove a link entity of a specific type and/or ID/name from a connector entity.
Syntax
*CE_RemoveLink ce_id option linktype link_id link_name
Type
HyperMesh Tcl Modify Command
Description
Remove a link entity of a specific type and/or ID/name from a connector entity.
Inputs
- ce_id
- ID of the connector entity.
- 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/or 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. Optional, if the name is specified.
- link_name
- Link name to remove from the connector. Optional, if the ID is specified.
Examples
To remove all links from a connector entity of ID
1:
*CE_RemoveLink 1 0 0 0 ""
To remove the component with ID 10 from the connector with ID
1:
*CE_RemoveLink 1 1 comps 10 ""