NX Open C++ Reference Guide
|
The Electrical Stock Device is a non instantiable superclass to classify all electrical stock-based single devices. More...
The Electrical Stock Device is a non instantiable superclass to classify all electrical stock-based single devices.
Creator not available in KF.
Created in NX4.0.2.
Routing level.
Calculates and sets cut length on object.
void NXOpen::Routing::Electrical::ElectricalStockDevice::ChangeHarness | ( | NXOpen::Routing::Electrical::HarnessDevice * | harnessDevice | ) |
Adds this stockdevice as child of given HarnessDevice.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
harnessDevice | harness device |
Returns the color name.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
Returns the cut length.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
NXOpen::Routing::Electrical::ConnectorDevice* NXOpen::Routing::Electrical::ElectricalStockDevice::FindFromConnector | ( | ) |
Find the from connector for this stock device.
If there is no from connector, NULL is returned.
NXOpen::Routing::Electrical::Connection* NXOpen::Routing::Electrical::ElectricalStockDevice::FindImplementedConnection | ( | ) |
Find the Routing::Electrical::Connection implemented by this device.
NXOpen::Routing::Electrical::HarnessDefinition* NXOpen::Routing::Electrical::ElectricalStockDevice::FindNearestHarnessDefinition | ( | ) |
Get nearest Routing::Electrical::HarnessDefinition encountered up the parent-child hierarchy.
NXOpen::Routing::Electrical::HarnessDevice* NXOpen::Routing::Electrical::ElectricalStockDevice::FindNearestHarnessDevice | ( | ) |
Find the nearest Routing::Electrical::HarnessDevice encountered up the parent-child hierarchy.
NXOpen::Routing::Electrical::ConnectorDevice* NXOpen::Routing::Electrical::ElectricalStockDevice::FindToConnector | ( | ) |
Find the to connector for this stock device.
If there is no to connector, NULL is returned.
NXOpen::Routing::Electrical::CableDefinition* NXOpen::Routing::Electrical::ElectricalStockDevice::FindTopmostCableDefinition | ( | ) |
Get topmost Routing::Electrical::CableDefinition encountered up the parent-child hierarchy.
std::vector<NXOpen::Routing::Electrical::ConnectorDevice *> NXOpen::Routing::Electrical::ElectricalStockDevice::GetIntermediateComponents | ( | ) |
Get intermediate components.
std::vector<NXOpen::Routing::LogicalTerminal *> NXOpen::Routing::Electrical::ElectricalStockDevice::GetIntermediateTerminals | ( | ) |
Get the intermediate terminals associated to this stock device.
Does this stock device have intermediate components?
void NXOpen::Routing::Electrical::ElectricalStockDevice::ManuallyRoute | ( | NXOpen::Routing::Electrical::ElectricalStockDevice::RouteLevel | routeLevel, |
const std::vector< NXOpen::Routing::ISegment * > & | segments | ||
) |
Manually routes a Routing::Electrical::ElectricalStockDevice .
on given Routing::ISegment . The input segments should form a continuous path between two Routing::Electrical::ConnectorDevice objects.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
routeLevel | Routing type. |
segments | segments |
Returns the NX color value.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
void NXOpen::Routing::Electrical::ElectricalStockDevice::SetColorName | ( | const NXString & | colorName | ) |
Sets the color name.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
colorName | color name |
void NXOpen::Routing::Electrical::ElectricalStockDevice::SetCutLength | ( | double | cutLength | ) |
Sets the cut length.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
cutLength | cut length |
void NXOpen::Routing::Electrical::ElectricalStockDevice::SetNxColorValue | ( | int | nxColorValue | ) |
Sets the NX color value.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
nxColorValue | nx color value |