Raceway_PhysicalTypes Methods

This page discusses:

Raceway_Part_Occurrence.GetAttributeOnConnectedPorts()

Function used to read the port attributes (lengths) on the connected raceway parts.

Signature

Raceway_Part_Occurrence.GetAttributeOnConnectedPorts(Linked Object : Raceway_Part_Occurrence, Attribute : String, This Object Value : String, Linked Object Value : String) : Integer

Arguments

NameInput / OutputRequired?TypeComment
Linked ObjectInYesRaceway_Part_Occurrence
AttributeInYesStringThe list of attributes comes from the Raceway_PartPort object.
This Object ValueOutYesString
Linked Object ValueOutYesString

ReturnType

Integer

Raceway_Part_Occurrence.GetAttributeOnConnectedPorts()

Function used to read the port attributes (lengths) on the connected raceway parts.

Signature

Raceway_Part_Occurrence.GetAttributeOnConnectedPorts(Linked Object : Raceway_Part_Occurrence, Attribute : String, This Object Value : LENGTH, Linked Object Value : LENGTH) : Integer

Arguments

NameInput / OutputRequired?TypeComment
Linked ObjectInYesRaceway_Part_Occurrence
AttributeInYesStringThe list of attributes comes from the Raceway_PartPort object.
This Object ValueOutYesLENGTH
Linked Object ValueOutYesLENGTH

ReturnType

Integer
Return code:
  • 0: Attribute values successfully read.
  • 1: Attribute not found on ThisObject.
  • 2: Attribute not found on iOccurrence.
  • 3: Invalid attribute.

Raceway_Part_Occurrence.GetRelatedObjects()

Function used to return the connected objects.

Signature

Raceway_Part_Occurrence.GetRelatedObjects() : List

ReturnType

List

Raceway_Part_Occurrence.GetSpoolName()

Function used to return the spool name.

Signature

Raceway_Part_Occurrence.GetSpoolName() : String

ReturnType

String

Raceway_Part_Occurrence.GetSpoolObject()

Function used to return the spool object.

Signature

Raceway_Part_Occurrence.GetSpoolObject() : Raceway_Spool_Occurrence

ReturnType

Raceway_Spool_Occurrence

Raceway_Tray_Occurrence.GetTwistStatus()

Function used to detect if the tray contains bend points that cannot be manufactured. -

Signature

Raceway_Tray_Occurrence.GetTwistStatus() : Boolean

ReturnType

Boolean

Raceway_Spool_Occurrence.GetSpoolMembers()

Function used to return the spool members.

Signature

Raceway_Spool_Occurrence.GetSpoolMembers() : List

ReturnType

List

Raceway_Spool_Occurrence.GetSpoolMode()

Function used to return the type of the spool in an enum. The enum type is RacewaySpool_Mode. You can initialize it to RacewaySpool_Unknown. Depending on the state of the input spool, the values returned can be one of the following:

  • RacewaySpool_Preliminary
  • RacewaySpool_Manufacturing
  • RacewaySpool_Mix
  • RacewaySpool_Invalid

Signature

Raceway_Spool_Occurrence.GetSpoolMode() : RacewaySpool_Mode

ReturnType

RacewaySpool_Mode

Raceway_Tray_Occurrence.GetAttributeOnConnectedPorts()

Function used to read the raceway attributes (lengths) on the connected raceway parts.

Signature

Raceway_Tray_Occurrence.GetAttributeOnConnectedPorts(Linked Object : Raceway_Tray_Occurrence, Attribute : String, This Object Value : String, Linked Object Value : String) : Integer

Arguments

NameInput / OutputRequired?TypeComment
Linked ObjectInYesRaceway_Tray_Occurrence
AttributeInYesStringThe list of attributes comes from the Raceway_PartPort object.
This Object ValueOutYesString
Linked Object ValueOutYesString

ReturnType

Integer

Raceway_Tray_Occurrence.GetAttributeOnConnectedPorts()

Function used to read the attributes (lengths) on the connected raceway trays.

Signature

Raceway_Tray_Occurrence.GetAttributeOnConnectedPorts(Linked Object : Raceway_Tray_Occurrence, Attribute : String, This Object Value : LENGTH, Linked Object Value : LENGTH) : Integer

Arguments

NameInput / OutputRequired?TypeComment
Linked ObjectInYesRaceway_Tray_Occurrence
AttributeInYesStringThe list of attributes comes from the Raceway_PartPort object.
This Object ValueOutYesLENGTH
Linked Object ValueOutYesLENGTH

ReturnType

Integer

Raceway_Tray_Occurrence.GetRelatedObjects()

Function used to return the connected objects.

Signature

Raceway_Tray_Occurrence.GetRelatedObjects() : List

ReturnType

List