NX Open C++ Reference Guide
Classes | Public Member Functions
NXOpen::Routing::Electrical::ConnectorDeviceCollection Class Reference

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

Inheritance diagram for NXOpen::Routing::Electrical::ConnectorDeviceCollection:
NXOpen::TaggedObjectCollection

List of all members.

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...

Public Member Functions

void AutoAssignConnectors (const std::vector< NXOpen::Routing::Electrical::ConnectorDevice * > &connectors)
 Auto assignment is done using one of the three matching methods, Part Name, Component Name or Attribute.
iterator begin ()
 Returns an iterator addressing the first element.
NXOpen::Routing::Electrical::ConnectorDeviceCreateConnectorDevice (NXOpen::Routing::Electrical::ConnectorDevice::ComponentType connectorType, const NXString &componentName)
 Creates a Routing::Electrical::ConnectorDevice .
NXOpen::Routing::Electrical::ConnectorDeviceCreateConnectorDevice (NXOpen::Routing::Electrical::HarnessDevice *harnessDevice, const NXString &equipmentName, const NXString &connectorName, NXOpen::Routing::Electrical::ConnectorDevice::ComponentType connectorType)
 Finds or Creates a Routing::Electrical::ConnectorDevice for given equipmentName and or connectorName.
iterator end ()
 Returns an iterator addressing one past the last element.
std::vector
< NXOpen::Routing::Electrical::ConnectorDevice * > 
GetConnectorSingleDevices ()
 Get connectors from the work part.
std::vector
< NXOpen::Routing::Electrical::ConnectorDevice * > 
GetEquipmentSingleDevices ()
 Get equipment from the work part.
tag_t Tag () const
 Returns the tag of this object.

Detailed Description

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


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

Created in NX4.0.2.


Member Function Documentation

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_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")

Parameters:
connectorsconnectors

Returns an iterator addressing the first element.

Creates a Routing::Electrical::ConnectorDevice .

Returns:

Created in NX4.0.2.

License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
Parameters:
connectorTypeconnector type
componentName
NOTE: The full Unicode character set is not supported for this parameter.

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

Builds Routing::Electrical::ElectricalDeviceRelationship between equipment and connector, if equipmentName and connectorName are not NULL. Adds connector to harnessDevice, if connectorName and harnessDevice are not NULL.

Returns:

Created in NX5.0.0.

License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
Parameters:
harnessDevicecan be NULL
equipmentNamecan be NULL if connectorName is not NULL
NOTE: The full Unicode character set is not supported for this parameter.
connectorNamecan be NULL if equipmentName is not NULL
NOTE: The full Unicode character set is not supported for this parameter.
connectorTypeconnector type

Returns an iterator addressing one past the last element.

Get connectors from the work part.

Returns:

Created in NX4.0.2.

License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")

Get equipment from the work part.

Returns:

Created in NX4.0.2.

License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")

Returns the tag of this object.


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