NXOpen .NET Reference  12.0.0
Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.Routing.Electrical.ConnectorDeviceCollection Class Reference

Represents a collection of NXOpen.Routing.Electrical.ConnectorDevice (CD) objects. More...

Inheritance diagram for NXOpen.Routing.Electrical.ConnectorDeviceCollection:

Public Member Functions

NXOpen.Routing.Electrical.ConnectorDevice[] ToArray ()
 Returns an array of NXOpen.Routing.Electrical.ConnectorDevice objects. More...
 
unsafe
NXOpen.Routing.Electrical.ConnectorDevice 
CreateConnectorDevice (NXOpen.Routing.Electrical.ConnectorDevice.ComponentType connectorType, string componentName)
 Creates a NXOpen.Routing.Electrical.ConnectorDevice . More...
 
unsafe
NXOpen.Routing.Electrical.ConnectorDevice 
CreateConnectorDevice (NXOpen.Routing.Electrical.HarnessDevice harnessDevice, string equipmentName, string connectorName, NXOpen.Routing.Electrical.ConnectorDevice.ComponentType connectorType)
 Finds or Creates a NXOpen.Routing.Electrical.ConnectorDevice for given equipmentName and or connectorName. More...
 
unsafe
NXOpen.Routing.Electrical.ConnectorDevice[] 
GetConnectorSingleDevices ()
 Get connectors from the work part. More...
 
unsafe
NXOpen.Routing.Electrical.ConnectorDevice[] 
GetEquipmentSingleDevices ()
 Get equipment from the work part. More...
 
unsafe void AutoAssignConnectors (NXOpen.Routing.Electrical.ConnectorDevice[] connectors)
 Auto assignment is done using one of the three matching methods, Part Name, Component Name or Attribute. More...
 

Protected Member Functions

override int EnumerateMoveNext (ref Tag currentTag, byte[] state)
 Advances the enumerator to the next element of the collection. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of NXOpen.Routing.Electrical.ConnectorDevice (CD) objects.

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

Created in NX4.0.2

Member Function Documentation

unsafe void NXOpen.Routing.Electrical.ConnectorDeviceCollection.AutoAssignConnectors ( NXOpen.Routing.Electrical.ConnectorDevice[]  connectors)

Auto assignment is done using one of the three matching methods, Part Name, Component Name or Attribute.

Created in NX4.0.2

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
connectors
unsafe NXOpen.Routing.Electrical.ConnectorDevice NXOpen.Routing.Electrical.ConnectorDeviceCollection.CreateConnectorDevice ( NXOpen.Routing.Electrical.ConnectorDevice.ComponentType  connectorType,
string  componentName 
)

Creates a NXOpen.Routing.Electrical.ConnectorDevice .

Created in NX4.0.2

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
connectorType
componentName
Returns
unsafe NXOpen.Routing.Electrical.ConnectorDevice NXOpen.Routing.Electrical.ConnectorDeviceCollection.CreateConnectorDevice ( NXOpen.Routing.Electrical.HarnessDevice  harnessDevice,
string  equipmentName,
string  connectorName,
NXOpen.Routing.Electrical.ConnectorDevice.ComponentType  connectorType 
)

Finds or Creates a NXOpen.Routing.Electrical.ConnectorDevice for given equipmentName and or connectorName.

Builds NXOpen.Routing.Electrical.ElectricalDeviceRelationship between equipment and connector, if equipmentName and connectorName are not a null reference (Nothing in Visual Basic). Adds connector to harnessDevice, if connectorName and harnessDevice are not a null reference (Nothing in Visual Basic).

Created in NX5.0.0

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Parameters
harnessDevicecan be a null reference (Nothing in Visual Basic)
equipmentNamecan be a null reference (Nothing in Visual Basic) if connectorName is not a null reference (Nothing in Visual Basic)
connectorNamecan be a null reference (Nothing in Visual Basic) if equipmentName is not a null reference (Nothing in Visual Basic)
connectorType
Returns
override int NXOpen.Routing.Electrical.ConnectorDeviceCollection.EnumerateMoveNext ( ref Tag  currentTag,
byte[]  state 
)
protected

Advances the enumerator to the next element of the collection.

unsafe NXOpen.Routing.Electrical.ConnectorDevice [] NXOpen.Routing.Electrical.ConnectorDeviceCollection.GetConnectorSingleDevices ( )

Get connectors from the work part.

Created in NX4.0.2

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Returns
unsafe NXOpen.Routing.Electrical.ConnectorDevice [] NXOpen.Routing.Electrical.ConnectorDeviceCollection.GetEquipmentSingleDevices ( )

Get equipment from the work part.

Created in NX4.0.2

License requirements: routing_advanced ("Routing Advanced"), routing_base ("Routing Basic")

Returns
NXOpen.Routing.Electrical.ConnectorDevice [] NXOpen.Routing.Electrical.ConnectorDeviceCollection.ToArray ( )

Returns an array of NXOpen.Routing.Electrical.ConnectorDevice objects.

Property Documentation

Tag NXOpen.Routing.Electrical.ConnectorDeviceCollection.Tag
get

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.