General InformationThe table below provides the information related to the definition of the Opening ID:
Input ObjectsInput objects must be of the following type:
Context Object Parameters
Sample 1The following sample modifies the connector reference name and the connector group instance name:
let ConnectorGroup(VPMReference)
set ConnectorGroup=ThisObject
let GroupInstance(VPMInstance)
set GroupInstance=Parameters->GetAttributeObject("GroupInstance")
let PlacedDeviceInstance(VPMInstance)
set PlacedDeviceInstance=Parameters->GetAttributeObject("DeviceInstanceInGroup")
let PlacedDevice(VPMReference)
set PlacedDevice=PlacedDeviceInstance.Reference
let ListPin(List)
let LElecPortType(List)
LElecPortType.Append("Elec3DCavity")
ListElectricalConnectionPoints(PlacedDevice,LElecPortType,ListPin)
ConnectorGroup.Name=ConnectorGroup.Name+" #"+PlacedDevice.V_description+ " ["+ListPin.Size()+" cavities]"
ConnectorGroup.V_description="acceptance test 2025xFD2"
let ElectricalGeometrySubType(String)
let ElectricalGeo(ElectricalGeometry)
set ElectricalGeo=GroupInstance.Owner
if ( ElectricalGeo <> NULL ) ElectricalGeometrySubType=ElectricalGeo.V_Elec_SubType
| |||||||||||||||||||||||||