NX Open C++ Reference Guide
|
RouteLogicalAssociation object associates non-electrical components to electrical components. More...
Public Member Functions | |
void | AddTarget (NXOpen::NXObject *target) |
Adds target to Logical Assocition Created in NX4.0.0. | |
void | EnableLogicalAssociation (bool enable) |
Set Logical Association to enabled state or disabled state. | |
NXOpen::NXObject * | GetControl () |
Retrieves the control for LogicalAssocition. | |
bool | GetRoutedCondition () |
Get the routed condition of a logical association object. | |
std::vector< NXOpen::NXObject * > | GetTargets () |
Get all the targets LogicalAssocition. | |
void | Perform () |
Performs the specified action (suppress or unsuppress) on the RouteLogicalAssociation Object Created in NX4.0.0. | |
void | Remove () |
Removes the RouteLogicalAssociation object Created in NX4.0.0. | |
void | RemoveTarget (NXOpen::NXObject *target) |
Removes the target from Logical Assocition Created in NX4.0.0. | |
void | SetControl (NXOpen::NXObject *control) |
Sets the control for LogicalAssocition Created in NX4.0.0. | |
void | SetRoutedCondition (bool condition) |
Set the routed condition of a logical association object The routed condition evaluates the state of the control object. |
RouteLogicalAssociation object associates non-electrical components to electrical components.
Logical Associations have control objects and target objects. Meeting control object's condition applies actions to target objects. Example: Control object is a ISegment and the target object is a clip or clamp which supports the harness. When the segment is routed (i.e. condition on control object is satisfied), the action is to suppress the target (clip or clamp)
To obtain an instance of this class use Routing::RouteLogicalAssociationCollection
Created in NX4.0.0.
void NXOpen::Routing::RouteLogicalAssociation::AddTarget | ( | NXOpen::NXObject * | target | ) |
Adds target to Logical Assocition
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
target | Target to add |
void NXOpen::Routing::RouteLogicalAssociation::EnableLogicalAssociation | ( | bool | enable | ) |
Set Logical Association to enabled state or disabled state.
True sets LAO to enabled state, False sets LAO to disabled state.
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
enable | True or False |
Retrieves the control for LogicalAssocition.
Get the routed condition of a logical association object.
The routed condition evaluates the state of the control object. True if condition is ROUTED, False if UNROUTED
std::vector<NXOpen::NXObject *> NXOpen::Routing::RouteLogicalAssociation::GetTargets | ( | ) |
Get all the targets LogicalAssocition.
Performs the specified action (suppress or unsuppress) on the RouteLogicalAssociation Object
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
Removes the RouteLogicalAssociation object
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
void NXOpen::Routing::RouteLogicalAssociation::RemoveTarget | ( | NXOpen::NXObject * | target | ) |
Removes the target from Logical Assocition
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
target | Target to remove |
void NXOpen::Routing::RouteLogicalAssociation::SetControl | ( | NXOpen::NXObject * | control | ) |
Sets the control for LogicalAssocition
Created in NX4.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
control | Control |
void NXOpen::Routing::RouteLogicalAssociation::SetRoutedCondition | ( | bool | condition | ) |
Set the routed condition of a logical association object The routed condition evaluates the state of the control object.
True if condition is ROUTED, False if UNROUTED
Created in NX5.0.0.
License requirements : routing_combined ("Routing Combined") OR routing_electrical ("Routing Electrical")
condition | condition |