Autoname connections
Previous Topic  Next Topic 

For scripting to work without errors the connection names for an object should be unique.

Autoname connections generates such names in the form

prefixIn# or prefixOut# where # is an incrementing number and prefix is the prefix defined for the signal type.

Autoname connections is provided in the symbol details and symbol scripting forms.

When this button is click ControlDraw prompts "Preserve compliant names"

when selected the names are not changed if their first letters match the default for the connection type.

When Auto-renaming connections from the Symbol Dynamics Form ControlDraw attempts to rename the variables in the symbol script. This works provided by substituting the old connection names with the new ones in the entire script.