*CE_ConnectorsUpdateByMetadata
Extracts link and other information from the connector location entity and applies it on the connector.
Syntax
*CE_ConnectorsUpdateByMetadata mark_id <option1>=<value1> <option2>=<value2> … <optionN>=<valueN>
Type
HyperMesh Tcl Modify Command
Description
Extracts link and other information from the connector location entity, the parent part and its child components and applies it on the connector.
Inputs
- mark_id
- The ID of the mark of connectors. Valid values are 1 and 2.
- md_link_type=<value>
- The entity link type and relink rule used for adding links using metadata extraction. Supported values are "Part UID" (default), "Part Name", and "Property ID".
- md_link=<value>
- The name of metadata used for extracting the connector links. The default value is "Connected Part". The extraction is done for all metadata names beginning with the specified value.
- md_connector_type=<value>
- The name of metadata used for extracting the connector type. The default value is "Connector Type".
- md_isoprocess_type=<value>
- The name of metadata used for extracting the ISO Process type. The default value is "ISO Process Type".
Examples
To extract part links from metadata and relink through UID rule with link metadata as "Connected Part" on connectors with ID 1-20:
*createmark connectors 1 1-20
*CE_ConnectorsUpdateByMetadata 1 md_link_type="Part UID" md_link="Connected Part"
To extract property links from metadata and relink through ID rule with link metadata as "Connected Part", iso process type as "ISO Type" on connectors with ID 1-20:
*createmark connectors 1 1-20
*CE_ConnectorsUpdateByMetadata 1 md_link_type="Property ID"
md_link="Connected Part" md_isoprocess_type="ISO Type"
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2022