General InformationThis opening ID is invoked when using the following command:
Input ObjectsInput objects must be of the following types:
Context Object Parameters
SampleIn the following sample, pins on a logical harness connector with the same subtype are considered to be connected through a multiple contact.
let Pin(EleLogicalPin)
let PinTemp(EleLogicalPin)
let ConnectorRef(EleLogicalConnectorComp)
let ConnectorPort(EleLogicalConnectorPort)
let PinList (List)
let SubType (String)
set Pin = Parameters.GetAttributeObject("iHCPin")
set SubType = Pin.GetAttributeString("V_Elec_SubType")
set ConnectorRef = ThisObject.Reference
set ConnectorPort = ConnectorRef.V_Elec_Ports.GetItem(1)
for PinTemp inside ConnectorPort.V_Elec_GroupedPorts {
if PinTemp.GetAttributeString("V_Elec_SubType") == SubType{
PinList.Append(PinTemp)
}
}
Parameters.SetAttributeObject("oListPins",PinList)
| |||||||||||||||||||||||||||