When creating new assets, it is possible to have them interact, in terms of parameter propagation, with other similar assets by assigning connector class properties. These properties control the asset parameters that should be referenced to achieve the desired connection behavior.
The Connector Class Properties command lets you choose the connector class to be used for the asset. It also lets you specify the connector class property values that are to be used. These connector class properties are defined in a separate connector class file in .xml format. A set of system connector classes is provided with the product and is used by both the System Assets and Cloud Assets. These connector class files are located on the local hard drive in the C:\ProgramData\Autodesk\Factory Design Suite(version)\FactoryLibrary folder.
You can define custom connector classes for new asset types that require connection behavior beyond the product-supplied connector classes. These can then be used to control parameter propagation behavior among assets assigned to the class.
A connector class is defined by an XML file, using the extension .connectorclass. The elements of the connector class define the parameter mapping, and any conditional checks that are used to control the conditions in which the particular mappings are made.
Connector class files always use a root element named connector. This element contains a series of child elements that identify the parameters that are to be propagated between assets when they are connected and belong to the same connector class.
|value_source||Parameter (default)||This specifies that the value for the mapping is to be provided by the identified parameter in the source asset.|
|Constant||This specifies that the value to be assigned will be a constant value, provided in the value attribute.|
|value||This attribute provides the value to be used for the parameter when value_source is set to Constant.|
|connector_name||This attribute is used to restrict the matching to a specific connector (by name). If the connector being used for the connection in the asset does not match this name, the mapping will be ignored.|
In addition to the above reserved attributes, additional attributes can be specified which define matching conditions. The attribute names (e.g., "family_type" in the above example) identify connector class properties. The values for these properties must be specified within the asset (using the Connector Class Properties dialog box) in order to facilitate matching. If the asset does not provide a matching connector class property, the mapping will be ignored.
|Connector Class File Name||Use the drop-down list to select the desired connector class from either the System Assets or Cloud Assets file name collections. collccc|
|Click this button to remove the selection from the Connector Class File Name drop-down list.|
|Name||Select the desired property from the drop-down list.|
|Value||Select the desired value from the drop-down list.|
|Add||Click the Add button after selecting Name and Value properties from the drop-down lists. The selections then appear in the Name and Value columns in the list box.|
|Delete||Select a property from the list box and click the Delete button to remove it.|