NX Open C++ Reference Guide
|
The electrical usage of a Routing::LogicalConnection , restricted to one From and one To terminal. More...
Public Member Functions | |
bool | AddIntermediateTerminal (NXOpen::Routing::LogicalTerminal *intermediateTerminal) |
Add an intermediate terminal to this connection. | |
NXOpen::Routing::Electrical::ConnectorDevice * | FindFromConnector () |
Get the From Connector for this connection. | |
NXOpen::Routing::Electrical::CableDevice * | FindNearestCableDevice () |
Query this connection to find the nearest harness. | |
NXOpen::Routing::Electrical::HarnessDevice * | FindNearestHarnessDevice () |
Query this connection to find the nearest harness. | |
NXOpen::Routing::SingleDevice * | FindNearestParentDevice () |
Queries this connection for the nearest parent device. | |
NXOpen::Routing::Electrical::ConnectorDevice * | FindToConnector () |
Get the To Connector for this connection. | |
NXOpen::Routing::LogicalTerminal * | FromTerminal () |
Returns the From terminal. | |
std::vector < NXOpen::Routing::LogicalTerminal * > | GetIntermediateTerminals () |
Get the intermediate terminals associated with this connection. | |
NXString | GetRoutedLevel () |
Gets the level used to route this connection. | |
NXString | GetRoutingMethod () |
Gets the method used to route this connection. | |
bool | IsRouted () |
Is this connection routed? | |
double | MaximumPathLength () |
Returns the maximum path length for this connection. | |
double | MinimumPathLength () |
Returns the minimum path length for this connection. | |
NXString | PathLengthMultiplier () |
Returns the path length multiplier. | |
NXString | PathLengthOffset () |
Returns the path length offset. | |
bool | RemoveIntermediateTerminal (NXOpen::Routing::LogicalTerminal *intermediateTerminal) |
Remove an intermediate terminal from this connection. | |
void | ReplaceIntermediateTerminals (const std::vector< NXOpen::Routing::LogicalTerminal * > &intermediateTerminals) |
Replaces the intermediate terminals associated with this connection. | |
void | SetFromTerminal (NXOpen::Routing::LogicalTerminal *fromTerminal) |
Sets the From terminal. | |
void | SetMaximumPathLength (double pathLength) |
Sets the maximum path length for this connection. | |
void | SetMinimumPathLength (double pathLength) |
Sets the minimum path length for this connection. | |
void | SetPathLengthMultiplier (const NXString &pathLengthMultiplier) |
Sets the path length multiplier. | |
void | SetPathLengthOffset (const NXString &pathLengthOffset) |
Sets the path length offset. | |
void | SetToTerminal (NXOpen::Routing::LogicalTerminal *toTerminal) |
Sets the To terminal. | |
NXOpen::Routing::LogicalTerminal * | ToTerminal () |
Returns the To terminal. |
The electrical usage of a Routing::LogicalConnection , restricted to one From and one To terminal.
See NX Open Routing help for detailed information on the Connection data model.
Creator not available in KF.
Created in NX4.0.2.
bool NXOpen::Routing::Electrical::Connection::AddIntermediateTerminal | ( | NXOpen::Routing::LogicalTerminal * | intermediateTerminal | ) |
Add an intermediate terminal to this connection.
intermediateTerminal | may be NULL |
NXOpen::Routing::Electrical::ConnectorDevice* NXOpen::Routing::Electrical::Connection::FindFromConnector | ( | ) |
Get the From Connector for this connection.
From does not imply an ordering.
NXOpen::Routing::Electrical::CableDevice* NXOpen::Routing::Electrical::Connection::FindNearestCableDevice | ( | ) |
Query this connection to find the nearest harness.
Only finds a cable that is a parent to this connection at some level up the connection heirarchy.
NXOpen::Routing::Electrical::HarnessDevice* NXOpen::Routing::Electrical::Connection::FindNearestHarnessDevice | ( | ) |
Query this connection to find the nearest harness.
Only finds a harness that is a parent to this connection at some level up the connection heirarchy.
Queries this connection for the nearest parent device.
The nearest parent device is either a cable, shield, or harness
NXOpen::Routing::Electrical::ConnectorDevice* NXOpen::Routing::Electrical::Connection::FindToConnector | ( | ) |
Get the To Connector for this connection.
To does not imply an ordering
Returns the From terminal.
The From terminal is one end of an electrical connection. From does not imply an ordering.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
std::vector<NXOpen::Routing::LogicalTerminal *> NXOpen::Routing::Electrical::Connection::GetIntermediateTerminals | ( | ) |
Get the intermediate terminals associated with this connection.
Intermediate Terminals are optional and need not exist for a Routing::Electrical::Connection to be valid in NX.
Gets the level used to route this connection.
Gets the method used to route this connection.
Is this connection routed?
Returns the maximum path length for this connection.
Maximum path length is the longest allowable length of all segments referred to by this connection.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
Returns the minimum path length for this connection.
Minimum path length is the shortest allowable length of all segments referred to by this connection.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
Returns the path length multiplier.
Used to calculate cut length. Cut length = length * multiplier + offset
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
Returns the path length offset.
Used to calculate cut length. Cut length = length * multiplier + offset
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
bool NXOpen::Routing::Electrical::Connection::RemoveIntermediateTerminal | ( | NXOpen::Routing::LogicalTerminal * | intermediateTerminal | ) |
Remove an intermediate terminal from this connection.
intermediateTerminal | may be NULL |
void NXOpen::Routing::Electrical::Connection::ReplaceIntermediateTerminals | ( | const std::vector< NXOpen::Routing::LogicalTerminal * > & | intermediateTerminals | ) |
Replaces the intermediate terminals associated with this connection.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
intermediateTerminals | Collection of intermediate Routing::LogicalTerminal - Use NULL to remove all intermdiate terminals |
void NXOpen::Routing::Electrical::Connection::SetFromTerminal | ( | NXOpen::Routing::LogicalTerminal * | fromTerminal | ) |
Sets the From terminal.
The From terminal is one end of an electrical connection. From does not imply an ordering.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
fromTerminal | May not be NULL |
void NXOpen::Routing::Electrical::Connection::SetMaximumPathLength | ( | double | pathLength | ) |
Sets the maximum path length for this connection.
Maximum path length is the longest allowable length of all segments referred to by this connection.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
pathLength | May be zero |
void NXOpen::Routing::Electrical::Connection::SetMinimumPathLength | ( | double | pathLength | ) |
Sets the minimum path length for this connection.
Minimum path length is the shortest allowable length of all segments referred to by this connection.
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
pathLength | May be zero |
void NXOpen::Routing::Electrical::Connection::SetPathLengthMultiplier | ( | const NXString & | pathLengthMultiplier | ) |
Sets the path length multiplier.
Used to calculate cut length. Cut length = length * multiplier + offset
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
pathLengthMultiplier | May be zero (cut length will be zero) |
void NXOpen::Routing::Electrical::Connection::SetPathLengthOffset | ( | const NXString & | pathLengthOffset | ) |
Sets the path length offset.
Used to calculate cut length. Cut length = length * multiplier + offset
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
pathLengthOffset | May be zero |
void NXOpen::Routing::Electrical::Connection::SetToTerminal | ( | NXOpen::Routing::LogicalTerminal * | toTerminal | ) |
Sets the To terminal.
The To terminal is one end of an electrical connection. To does not imply an ordering
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
toTerminal | May not be NULL |
Returns the To terminal.
The To terminal is one end of an electrical connection. To does not imply an ordering
Created in NX4.0.2.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")