NX Open C++ Reference Guide
|
The Electrical ConnectorDevice corresponds to a connector instance of Routing::SingleDevice . More...
The Electrical ConnectorDevice corresponds to a connector instance of Routing::SingleDevice .
To create a new instance of this class, use Routing::Electrical::ConnectorDeviceCollection::CreateConnectorDevice
Created in NX4.0.2.
Returns the component name.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
NXOpen::Routing::Electrical::ConnectorDevice::ComponentType NXOpen::Routing::Electrical::ConnectorDevice::ConnectorType | ( | ) |
Returns the connector type.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
std::vector<NXOpen::Routing::Electrical::Connection *> NXOpen::Routing::Electrical::ConnectorDevice::FindConnections | ( | ) |
Find connections.
std::vector<NXOpen::Routing::CharacteristicList *> NXOpen::Routing::Electrical::ConnectorDevice::FindMatchingParts | ( | ) |
Find parts matching the connector device.
Searches for "PART_NAME" property on connector device to search for matches in the part tables Returns all matching rows from the part tables.
NXOpen::Routing::Electrical::CableDevice* NXOpen::Routing::Electrical::ConnectorDevice::FindNearestCableDevice | ( | ) |
Get the nearest Routing::Electrical::CableDevice encountered up the parent-child hierarchy.
NXOpen::Routing::Electrical::HarnessDevice* NXOpen::Routing::Electrical::ConnectorDevice::FindNearestHarnessDevice | ( | ) |
Get the nearest Routing::Electrical::HarnessDevice encountered up the parent-child hierarchy.
NXOpen::Routing::Port* NXOpen::Routing::Electrical::ConnectorDevice::FindPlacer | ( | double * | placerPos | ) |
Searches for a placement port for the connector device.
The placement port is defined in the component list by attribute "DEVICE_PIN" or "EQUIPMENT_PIN". If the attribute is not defined, searches for the first available port on the relating device.
placerPos | placer pos |
std::vector<NXOpen::Routing::Electrical::ElectricalStockDevice *> NXOpen::Routing::Electrical::ConnectorDevice::FindRoutedStockDevices | ( | ) |
Find routed stock devices.
std::vector<NXOpen::Routing::Electrical::ElectricalStockDevice *> NXOpen::Routing::Electrical::ConnectorDevice::FindStockDevices | ( | ) |
Find stock devices.
NXOpen::Routing::Electrical::ConnectorDevice::Assign NXOpen::Routing::Electrical::ConnectorDevice::GetAssignMethod | ( | ) |
Get assign method.
NXOpen::Routing::Electrical::ElectricalPartDefinitionShadow* NXOpen::Routing::Electrical::ConnectorDevice::GetPartDefinition | ( | ) |
Get part definition.
NXOpen::Routing::LogicalTerminal* NXOpen::Routing::Electrical::ConnectorDevice::GetTerminal | ( | const NXString & | terminalName, |
bool | createTerminal | ||
) |
Get Routing::LogicalTerminal given the name of the terminal.
If a terminal does not exists creates a terminal
terminalName | NOTE: The full Unicode character set is not supported for this parameter. |
createTerminal | TRUE - creates a new terminal if one does not exist with given name |
std::vector<NXOpen::Routing::LogicalTerminal *> NXOpen::Routing::Electrical::ConnectorDevice::GetTerminals | ( | ) |
Get terminals.
Get status of a connector device (assigned or not).
bool NXOpen::Routing::Electrical::ConnectorDevice::IsNxConnector | ( | NXOpen::Routing::Electrical::HarnessDevice * | elecHarnessDevice | ) |
Is the device a connector?
elecHarnessDevice | elec harness device |
bool NXOpen::Routing::Electrical::ConnectorDevice::IsNxDevice | ( | NXOpen::Routing::Electrical::HarnessDevice * | elecHarnessDevice | ) |
Is the device a NX device?
elecHarnessDevice | elec harness device |
bool NXOpen::Routing::Electrical::ConnectorDevice::IsUsedInRoutedConnection | ( | NXOpen::Routing::Electrical::HarnessDevice * | elecHarnessDevice | ) |
Is the device used in a routed connection?
elecHarnessDevice | elec harness device |
void NXOpen::Routing::Electrical::ConnectorDevice::ManuallyAssignConnector | ( | NXOpen::Assemblies::Component * | elecConnectorPartOccurrence | ) |
Assign a connector manually.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
elecConnectorPartOccurrence | Component to assign. |
NXOpen::Assemblies::Component* NXOpen::Routing::Electrical::ConnectorDevice::PlaceConnectorOnPort | ( | NXOpen::Routing::CharacteristicList * | match, |
NXOpen::Routing::Port * | placer | ||
) |
Loads the parts based on the Routing::CharacteristicList adds the instance of the part to the current work part and places the instance on the placer.
match | match |
placer | placer |
void NXOpen::Routing::Electrical::ConnectorDevice::ProxyAssignConnector | ( | NXOpen::Routing::Port * | proxy | ) |
Assign a connector to a proxy port.
Created in NX8.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
proxy | Assigned port. |
bool NXOpen::Routing::Electrical::ConnectorDevice::RemoveTerminal | ( | NXOpen::Routing::LogicalTerminal * | routeTerminalToRemove | ) |
Remove a terminal.
routeTerminalToRemove | route terminal to remove |
void NXOpen::Routing::Electrical::ConnectorDevice::SetComponentName | ( | const NXString & | componentName | ) |
Sets the component name.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
componentName | component name |
void NXOpen::Routing::Electrical::ConnectorDevice::SetConnectorType | ( | NXOpen::Routing::Electrical::ConnectorDevice::ComponentType | elecRlistComponent | ) |
Sets the connector type.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
elecRlistComponent | elec rlist component |
void NXOpen::Routing::Electrical::ConnectorDevice::SetPartDefinition | ( | NXOpen::Routing::Electrical::ElectricalPartDefinitionShadow * | elecPartDefinitionShadow | ) |
Sets part definition.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
elecPartDefinitionShadow | elec part definition shadow |
Unassign connector.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")