InterfaceTerminalRelationshipCollection Class — NXOpen Python API Reference 12.0.0 documentation

# InterfaceTerminalRelationshipCollection Class

class `NXOpen.Routing.``InterfaceTerminalRelationshipCollection`

  Bases: `object`

  Represents a collection of `NXOpen.Routing.InterfaceTerminalRelationshipShadow` objects.

  See NX Routing help for the Connectivity data model documentation.

  To obtain an instance of this class, refer to `NXOpen.Routing.RouteManager`

  New in version NX4.0.2.

# Methods

Method | Description
--- | ---
CreateElectricalInterfaceTerminalRelationship | Creates and returns a `NXOpen.Routing.InterfaceTerminalRelationshipShadow` object under electrical data root object.
CreateMechanicalInterfaceTerminalRelationship | Creates and returns a `NXOpen.Routing.InterfaceTerminalRelationshipShadow` object under mechanical data root object.

# Method Detail

## CreateElectricalInterfaceTerminalRelationship

`InterfaceTerminalRelationshipCollection.``CreateElectricalInterfaceTerminalRelationship`

  Overloaded method CreateElectricalInterfaceTerminalRelationship

  - `CreateElectricalInterfaceTerminalRelationship()`
  - `CreateElectricalInterfaceTerminalRelationship(guid)`

  `-------------------------------------`

  Creates and returns a `NXOpen.Routing.InterfaceTerminalRelationshipShadow` object under electrical data root object.

  Signature `CreateElectricalInterfaceTerminalRelationship()`

  Returns: |
  Return type: | `NXOpen.Routing.InterfaceTerminalRelationshipShadow`

  New in version NX4.0.2.

  License requirements: routing_advanced (“Routing Advanced”), routing_base (“Routing Basic”)

  `-------------------------------------`

  Creates and returns a `NXOpen.Routing.InterfaceTerminalRelationshipShadow` object under electrical data root object.

  Signature `CreateElectricalInterfaceTerminalRelationship(guid)`

  Parameters: | guid (str) – Unique Identifier, NX will generate guid, if the value is NULL
  Returns: |
  Return type: | `NXOpen.Routing.InterfaceTerminalRelationshipShadow`

  New in version NX4.0.2.

  License requirements: routing_advanced (“Routing Advanced”), routing_base (“Routing Basic”)

  `-------------------------------------`

## CreateMechanicalInterfaceTerminalRelationship

`InterfaceTerminalRelationshipCollection.``CreateMechanicalInterfaceTerminalRelationship`

  Overloaded method CreateMechanicalInterfaceTerminalRelationship

  - `CreateMechanicalInterfaceTerminalRelationship()`
  - `CreateMechanicalInterfaceTerminalRelationship(guid)`

  `-------------------------------------`

  Creates and returns a `NXOpen.Routing.InterfaceTerminalRelationshipShadow` object under mechanical data root object.

  Signature `CreateMechanicalInterfaceTerminalRelationship()`

  Returns: |
  Return type: | `NXOpen.Routing.InterfaceTerminalRelationshipShadow`

  New in version NX4.0.2.

  License requirements: routing_advanced (“Routing Advanced”), routing_base (“Routing Basic”)

  `-------------------------------------`

  Creates and returns a `NXOpen.Routing.InterfaceTerminalRelationshipShadow` object under mechanical data root object.

  Signature `CreateMechanicalInterfaceTerminalRelationship(guid)`

  Parameters: | guid (str) – Unique Identifier, NX will generate guid, if the value is NULL
  Returns: |
  Return type: | `NXOpen.Routing.InterfaceTerminalRelationshipShadow`

  New in version NX4.0.2.

  License requirements: routing_advanced (“Routing Advanced”), routing_base (“Routing Basic”)

  `-------------------------------------`