NX Open C++ Reference Guide
|
Represents a collection of Routing::Electrical::ConnectorDevice (CD) objects. More...
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::ConnectorDevice * | CreateConnectorDevice (NXOpen::Routing::Electrical::ConnectorDevice::ComponentType connectorType, const NXString &componentName) |
Creates a Routing::Electrical::ConnectorDevice . | |
NXOpen::Routing::Electrical::ConnectorDevice * | CreateConnectorDevice (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. |
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.
void NXOpen::Routing::Electrical::ConnectorDeviceCollection::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.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
connectors | connectors |
Returns an iterator addressing the first element.
Creates a Routing::Electrical::ConnectorDevice .
connectorType | connector type |
componentName | NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::Routing::Electrical::ConnectorDevice* NXOpen::Routing::Electrical::ConnectorDeviceCollection::CreateConnectorDevice | ( | 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.
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.
harnessDevice | can be NULL |
equipmentName | can be NULL if connectorName is not NULL NOTE: The full Unicode character set is not supported for this parameter. |
connectorName | can be NULL if equipmentName is not NULL NOTE: The full Unicode character set is not supported for this parameter. |
connectorType | connector type |
Returns an iterator addressing one past the last element.
std::vector<NXOpen::Routing::Electrical::ConnectorDevice *> NXOpen::Routing::Electrical::ConnectorDeviceCollection::GetConnectorSingleDevices | ( | ) |
Get connectors from the work part.
std::vector<NXOpen::Routing::Electrical::ConnectorDevice *> NXOpen::Routing::Electrical::ConnectorDeviceCollection::GetEquipmentSingleDevices | ( | ) |
Get equipment from the work part.
tag_t NXOpen::Routing::Electrical::ConnectorDeviceCollection::Tag | ( | ) | const |
Returns the tag of this object.