*CE_ConnectorGroupCreateAndOrganizeConnectors

Create new connector group(s) and reorganize connector(s) inside them based on criteria given.

Syntax

*CE_ConnectorGroupCreateAndOrganizeConnectors entity_type criteria delete_cleared_groups organize_all_ces

Type

HyperMesh Tcl Modify

Description

Create new connector group(s) and reorganize connector(s) inside them based on criteria given.

Inputs

entity_type
Must be set to connectorgroups.
criteria
The criteria used for creating new connector group and reorganizing connector. Valid values are:
1 – Create one connector group per link combination
3 – Create one connector group per Include
delete_cleared_groups
0 - Do not delete empty connector gropus
1 - Delete empty connector groups
organize_all_ces
0 – Reorganize only ungrouped connectors
1 – Reorganize all connectors

Examples

To auto reorganize all connectors based on criteria 1 (one connector group per link combination) and delete empty connector groups:

*CE_ConnectorGroupCreateAndOrganizeConnectors CONNECTORGROUPS 1 1 1

To auto reorganize only ungrouped connectors based on criteria 3 (one connector group per include) and keep empty connector groups:

*CE_ConnectorGroupCreateAndOrganizeConnectors CONNECTORGROUPS 3 0 0

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