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... | |
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_advanced ("Routing Advanced"), routing_base ("Routing Basic")
connectors | connectors |
iterator NXOpen::Routing::Electrical::ConnectorDeviceCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Routing::Electrical::ConnectorDevice* NXOpen::Routing::Electrical::ConnectorDeviceCollection::CreateConnectorDevice | ( | NXOpen::Routing::Electrical::ConnectorDevice::ComponentType | connectorType, |
const NXString & | componentName | ||
) |
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::ConnectorDevice::ComponentType | connectorType, |
const char * | componentName | ||
) |
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 |
NXOpen::Routing::Electrical::ConnectorDevice* NXOpen::Routing::Electrical::ConnectorDeviceCollection::CreateConnectorDevice | ( | NXOpen::Routing::Electrical::HarnessDevice * | harnessDevice, |
const char * | equipmentName, | ||
const char * | 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 |
iterator NXOpen::Routing::Electrical::ConnectorDeviceCollection::end | ( | ) |
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.