This functionality is only available for certain module packages. Info / Copyright

Action: XPamsDeviceSelectionAction


Parameters

Description

PROJECTNAME

Project name with complete file path (optional). If the project in question is not open, it will be opened automatically by this action and then closed again.
If nothing is entered, the selected project will be used if the action is to be run over the user interface (e.g. via the script or ribbon). When executing from the Windows command line, PROJECTNAME must be specified or ProjectAction has to be used before that. Otherwise a system message will appear.

MODE

Optional: Mode. Supported modes are:

  • selectDevice (default value): Selects a new device for the existing objects. In the process all device data including the part reference data is deleted and reassigned in accordance with the device selection.
  • updateDevice: Updates only the device data of the parts of the existing objects. The part numbers and part reference data are retained. The functionality corresponds to the Update device data popup menu item in the bill of materials navigator.

KeepSwappedConnPointInformation

If during the update of the device data the connection point designations of functions or the connection colors of cable connections are swapped in comparison to the sequence in the function templates of the part, you can use this parameter to specify whether the swapped data is retained (optional, 0 = No, 1 = Yes). Default value: 0
This is only effective if all connection point designations at the function or all connection colors at the cable connection match those in the function templates of the part.