NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Properties | List of all members
NXOpen.Assemblies.ConstraintDisplayBuilder Class Reference

The NXOpen.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 NXOpen.Utilities.NXRemotableObject IMessageSink

Public Types

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

Properties

unsafe bool ChangeComponentVisibility [get, set]
 Returns or sets the flag indicating whether or not a Show Only operation should be done on the connecting components. More...
 
unsafe bool FilterNavigator [get, set]
 Returns or sets the flag indicating whether the assembly navigator should filter hidden constraints. More...
 
unsafe
NXOpen.SelectDisplayableObjectList 
ObjectSelection [get]
 Returns the selected constraints and components. More...
 
unsafe
NXOpen.Assemblies.ConstraintDisplayBuilder.VisibleConstraintsRuleOptions 
VisibleConstraintsRule [get, set]
 Returns or sets the rule determining which constraints are treated as connected to the selected components. More...
 
- Properties inherited from NXOpen.Builder
unsafe NXOpen.PreviewBuilder PreviewBuilder [get]
 Returns the preview builder subobject. More...
 
- Properties inherited from NXOpen.TaggedObject
Tag Tag [get]
 Returns the tag of this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Additional Inherited Members

- Public Member Functions inherited from NXOpen.Builder
unsafe NXOpen.NXObject Commit ()
 Commits any edits that have been applied to the builder. More...
 
unsafe void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
unsafe NXOpen.NXObject[] GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
unsafe NXOpen.NXObject GetObject ()
 Returns the object currently being edited by this builder. More...
 
unsafe void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Protected Member Functions inherited from NXOpen.TaggedObject
new void initialize ()
 <exclude> More...
 

Detailed Description

The NXOpen.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 NXOpen.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
BetweenComponents 

Show only constraints that refer only to selected components

ConnectedToComponents 

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

Property Documentation

unsafe bool NXOpen.Assemblies.ConstraintDisplayBuilder.ChangeComponentVisibility
getset

Returns or 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 to get this property: None.

License requirements to set this property: assemblies ("ASSEMBLIES MODULE")

unsafe bool NXOpen.Assemblies.ConstraintDisplayBuilder.FilterNavigator
getset

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

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: assemblies ("ASSEMBLIES MODULE")

unsafe NXOpen.SelectDisplayableObjectList NXOpen.Assemblies.ConstraintDisplayBuilder.ObjectSelection
get

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.

unsafe NXOpen.Assemblies.ConstraintDisplayBuilder.VisibleConstraintsRuleOptions NXOpen.Assemblies.ConstraintDisplayBuilder.VisibleConstraintsRule
getset

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

Created in NX6.0.0

License requirements to get this property: None.

License requirements to set this property: assemblies ("ASSEMBLIES MODULE")


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