NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Assemblies::ConstraintDisplayBuilder Class Reference

The Assemblies::ConstraintDisplayBuilder can be used to control visibility of constraints and optionally components. More...

Inheritance diagram for NXOpen::Assemblies::ConstraintDisplayBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  VisibleConstraintsRuleOptions { VisibleConstraintsRuleOptionsBetweenComponents, VisibleConstraintsRuleOptionsConnectedToComponents }
 This enum is used to control which constraints are treated as connected to the selected components. More...

Public Member Functions

bool ChangeComponentVisibility ()
 Returns the flag indicating whether or not a Show Only operation should be done on the connecting components.
bool FilterNavigator ()
 Returns the flag indicating whether the assembly navigator should filter hidden constraints.
NXOpen::SelectDisplayableObjectListObjectSelection ()
 Returns the selected constraints and components.
void SetChangeComponentVisibility (bool changeComponentVisibility)
 Sets the flag indicating whether or not a Show Only operation should be done on the connecting components.
void SetFilterNavigator (bool filterNavigator)
 Sets the flag indicating whether the assembly navigator should filter hidden constraints.
void SetVisibleConstraintsRule (NXOpen::Assemblies::ConstraintDisplayBuilder::VisibleConstraintsRuleOptions visibleConstraintsRule)
 Sets the rule determining which constraints are treated as connected to the selected components.
NXOpen::Assemblies::ConstraintDisplayBuilder::VisibleConstraintsRuleOptions VisibleConstraintsRule ()
 Returns the rule determining which constraints are treated as connected to the selected components.

Detailed Description

The Assemblies::ConstraintDisplayBuilder can be used to control visibility of constraints and optionally components.

Any selected constraint is shown, and any constraint that refers to geometry in selected components is shown (subject to the setting of the VisibleConstraintsRule). All other constraints are hidden.
If ChangeComponentVisibility is on, then selected components and components positioned by selected constraints are shown, and all other components are hidden. If ChangeComponentVisibility is off, then component visibility is not affected.

This builder operates on displayed constraints. A displayed constraint represents a single assembly constraint in a given assembly, and need not be in the same part as the assembly constraint it represents. An assembly may contain more than one displayed constraint for a given assembly constraint.

To create a new instance of this class, use Assemblies::AssemblyManager::CreateConstraintDisplayBuilder
Default values.

Property Value

ChangeComponentVisibility

1

FilterNavigator

0

VisibleConstraintsRule

BetweenComponents


Created in NX6.0.0.


Member Enumeration Documentation

This enum is used to control which constraints are treated as connected to the selected components.

Enumerator:
VisibleConstraintsRuleOptionsBetweenComponents 

Show only constraints that refer only to selected components.

VisibleConstraintsRuleOptionsConnectedToComponents 

Show only constraints that refer at least once to a selected component.


Member Function Documentation

Returns the flag indicating whether or not a Show Only operation should be done on the connecting components.


Created in NX6.0.0.

License requirements : None

Returns the flag indicating whether the assembly navigator should filter hidden constraints.


Created in NX6.0.0.

License requirements : None

Returns the selected constraints and components.

All selected constraints and components are shown when the builder is committed, and so are constraints and components connected to them.
Created in NX6.0.0.

License requirements : None

Sets the flag indicating whether or not a Show Only operation should be done on the connecting components.


Created in NX6.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters:
changeComponentVisibilitychangecomponentvisibility

Sets the flag indicating whether the assembly navigator should filter hidden constraints.


Created in NX6.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters:
filterNavigatorfilternavigator

Sets the rule determining which constraints are treated as connected to the selected components.


Created in NX6.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters:
visibleConstraintsRulevisibleconstraintsrule

Returns the rule determining which constraints are treated as connected to the selected components.


Created in NX6.0.0.

License requirements : None


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.