NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Assemblies::ClearanceAnalysisBuilder Class Reference

Represents NXOpen::Assemblies::ClearanceAnalysisBuilder . More...

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

Public Types

enum  CalculationMethodType { CalculationMethodTypeLightweight, CalculationMethodTypeExactifLoaded, CalculationMethodTypeExact }
 Specify the analysis method. More...
 
enum  ClearanceBetweenEntity { ClearanceBetweenEntityComponents, ClearanceBetweenEntityBodies }
 Specify the type of clearance analysis. More...
 
enum  ClearanceZoneSource {
  ClearanceZoneSourcePair, ClearanceZoneSourceObject1, ClearanceZoneSourceObject2, ClearanceZoneSourceDefault,
  ClearanceZoneSourceDefined
}
 Specify the source of the clearance zone. More...
 
enum  CollectionRange { CollectionRangeAllObjects, CollectionRangeAllVisibleObjects, CollectionRangeSelectedObjects, CollectionRangeAllButSelectedObjects }
 Specify how to compare objects inside a collection. More...
 
enum  NumberOfCollections { NumberOfCollectionsOne, NumberOfCollectionsTwo }
 Specify the number of collections used for clearance analysis. More...
 
enum  PairExcludedReason {
  PairExcludedReasonNoReason, PairExcludedReasonUserDefined, PairExcludedReasonSameCompRule, PairExcludedReasonSameGroupRule,
  PairExcludedReasonMatedCompRule, PairExcludedReasonSamePartRule, PairExcludedReasonCompSuppressed, PairExcludedReasonNonGeom,
  PairExcludedReasonUnitSubassy
}
 Specify the reason for excluding the pair. More...
 
enum  ZoneType { ZoneTypeObject, ZoneTypePair }
 Specify the clearance zone type. More...
 

Public Member Functions

void AddException (bool isExclude, NXOpen::DisplayableObject *comp1, NXOpen::DisplayableObject *comp2, const NXString &text)
 Add an exception. More...
 
void AddException (bool isExclude, NXOpen::DisplayableObject *comp1, NXOpen::DisplayableObject *comp2, const char *text)
 Add an exception. More...
 
void AddObjectClearanceZone (NXOpen::DisplayableObject *object, NXOpen::Expression *expression)
 Add a Clearance Zone around an object. More...
 
void AddPairClearanceZone (NXOpen::DisplayableObject *object1, NXOpen::DisplayableObject *object2, NXOpen::Expression *expression)
 Add a Clearance Zone between a pair of objects. More...
 
NXOpen::Assemblies::ClearanceAnalysisBuilder::CalculationMethodType CalculationMethod ()
 Returns the setting for the clearance calculation method. More...
 
NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceBetweenEntity ClearanceBetween ()
 Returns the setting to determine whether components or bodies should be used. More...
 
NXString ClearanceSetName ()
 Returns the clearance set name. More...
 
NXOpen::SelectDisplayableObjectListCollectionOneObjects ()
 Returns the selected objects for collection one. More...
 
NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionRange CollectionOneRange ()
 Returns the range setting for collection one. More...
 
NXOpen::SelectDisplayableObjectListCollectionTwoObjects ()
 Returns the selected objects for collection two. More...
 
NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionRange CollectionTwoRange ()
 Returns the range setting for collection two. More...
 
NXOpen::ExpressionCreateClearanceZoneExpression (const NXString &rhsExpression)
 Create an expression using the Clearance Zone naming convention. More...
 
NXOpen::ExpressionCreateClearanceZoneExpression (const char *rhsExpression)
 Create an expression using the Clearance Zone naming convention. More...
 
void DeleteException (NXOpen::DisplayableObject *comp1, NXOpen::DisplayableObject *comp2)
 Delete an exception. More...
 
void DeleteObjectClearanceZone (NXOpen::DisplayableObject *object)
 Delete an existing Clearance Zone from around an object. More...
 
void DeletePairClearanceZone (NXOpen::DisplayableObject *object1, NXOpen::DisplayableObject *object2)
 Delete an existing Clearance Zone between the given pair of objects. More...
 
NXOpen::ExpressionGetDefaultClearanceZone ()
 Get the default Clearance Zone expression. More...
 
bool GetIsPairIncluded (NXOpen::DisplayableObject *object1, NXOpen::DisplayableObject *object2, NXOpen::Assemblies::ClearanceAnalysisBuilder::PairExcludedReason *reason, NXString *text)
 Inquires if an object pair is to be included in the analysis. More...
 
NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceZoneSource GetObjectClearanceZone (NXOpen::DisplayableObject *object, NXOpen::Expression **expression)
 Inquire the Clearance Zone assigned to a given object. More...
 
NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceZoneSource GetPairClearanceZone (NXOpen::DisplayableObject *object1, NXOpen::DisplayableObject *object2, NXOpen::Expression **expression)
 Inquire the Clearance Zone for a specific pair of objects. More...
 
NXOpen::NXColorInterferenceColor ()
 Returns the color of the interference geometry. More...
 
bool IsCalculatePenetrationDepth ()
 Returns the setting to determine whether penetration depth should be calculated. More...
 
bool IsIgnorePairsWithinSameGroup ()
 Returns the setting to determine whether to ignore pairs within same group. More...
 
bool IsIgnorePairsWithinSamePart ()
 Returns the setting to determine whether to ignore pairs within same part. More...
 
bool IsIgnorePairsWithinSameSubassembly ()
 Returns the setting to determine whether to ignore pairs within same subassembly. More...
 
bool IsIgnorePairsWithinSelectedSubassemblies ()
 Returns the setting to determine whether to ignore pairs within the selected subassemblies. More...
 
int Layer ()
 Returns the layer for interference geometry. More...
 
bool SaveInterferenceGeometry ()
 Returns the setting to determine if interference geometry should be saved. More...
 
void SetCalculatePenetrationDepth (bool isCalculatePenetrationDepth)
 Sets the setting to determine whether penetration depth should be calculated. More...
 
void SetCalculationMethod (NXOpen::Assemblies::ClearanceAnalysisBuilder::CalculationMethodType calculateMethod)
 Sets the setting for the clearance calculation method. More...
 
void SetClearanceBetween (NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceBetweenEntity clearanceBetweenEntity)
 Sets the setting to determine whether components or bodies should be used. More...
 
void SetClearanceSetName (const NXString &clearanceSetName)
 Sets the clearance set name. More...
 
void SetClearanceSetName (const char *clearanceSetName)
 Sets the clearance set name. More...
 
void SetCollectionOneRange (NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionRange collectionRange)
 Sets the range setting for collection one. More...
 
void SetCollectionTwoRange (NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionRange collectionRange)
 Sets the range setting for collection two. More...
 
void SetDefaultClearanceZone (NXOpen::Expression *expression)
 Set the expression as the default Clearance Zone. More...
 
void SetIgnorePairsWithinSameGroup (bool isIgnorePairsWithinSameGroup)
 Sets the setting to determine whether to ignore pairs within same group. More...
 
void SetIgnorePairsWithinSamePart (bool isIgnorePairsWithinSamePart)
 Sets the setting to determine whether to ignore pairs within same part. More...
 
void SetIgnorePairsWithinSameSubassembly (bool isIgnorePairsWithinSameSubassembly)
 Sets the setting to determine whether to ignore pairs within same subassembly. More...
 
void SetIgnorePairsWithinSelectedSubassemblies (bool isIgnorePairsWithinSelectedSubassemblies)
 Sets the setting to determine whether to ignore pairs within the selected subassemblies. More...
 
void SetInterferenceColor (NXOpen::NXColor *color)
 Sets the color of the interference geometry. More...
 
void SetLayer (int layer)
 Sets the layer for interference geometry. More...
 
void SetSaveInterferenceGeometry (bool saveInterferenceGeometry)
 Sets the setting to determine if interference geometry should be saved. More...
 
void SetTotalCollectionCount (NXOpen::Assemblies::ClearanceAnalysisBuilder::NumberOfCollections totalCollectionCount)
 Sets the setting to determine whether one collection or two collections should be used. More...
 
NXOpen::Assemblies::ClearanceAnalysisBuilder::NumberOfCollections TotalCollectionCount ()
 Returns the setting to determine whether one collection or two collections should be used. More...
 
NXOpen::SelectDisplayableObjectListUnitSubassemblies ()
 Returns the selected unit subassemblies. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents NXOpen::Assemblies::ClearanceAnalysisBuilder .

The builder builds the clearance set which contains properties for the analysis. The properties are:

Clearance Set Name: the name of the clearance set.

Clearance Type: either components or bodies or PSM facet objects.

Number of collections: either one or two. Where one collection is chosen, the analysis is performed between all objects in the collection. Where two collections are chosen, the analysis compares objects from one collection with objects from the other.

Exceptions: Select Subassemblies: Specific subassemblies selected within the displayed part can be treated as a single entity.

Explicitly Ignore: A number of options to reduce the amount of results reported.

Additional exceptions: Addtional pairs of objects to be excluded or included regardless of exception rules previously defined.
To create a new instance of this class, use NXOpen::Assemblies::AssemblyManager::CreateClearanceAnalysisBuilder

Created in NX9.0.0.

Member Enumeration Documentation

Specify the analysis method.

Enumerator
CalculationMethodTypeLightweight 

lightweight

CalculationMethodTypeExactifLoaded 

exactif loaded

CalculationMethodTypeExact 

exact

Specify the type of clearance analysis.

Enumerator
ClearanceBetweenEntityComponents 

components

ClearanceBetweenEntityBodies 

bodies

Specify the source of the clearance zone.

Enumerator
ClearanceZoneSourcePair 

pair

ClearanceZoneSourceObject1 

object1

ClearanceZoneSourceObject2 

object2

ClearanceZoneSourceDefault 

default

ClearanceZoneSourceDefined 

defined

Specify how to compare objects inside a collection.

Enumerator
CollectionRangeAllObjects 

all objects

CollectionRangeAllVisibleObjects 

all visible objects

CollectionRangeSelectedObjects 

selected objects

CollectionRangeAllButSelectedObjects 

all but selected objects

Specify the number of collections used for clearance analysis.

Enumerator
NumberOfCollectionsOne 

one

NumberOfCollectionsTwo 

two

Specify the reason for excluding the pair.

Enumerator
PairExcludedReasonNoReason 

default behavior

PairExcludedReasonUserDefined 

user has explicitly included or excluded this pair

PairExcludedReasonSameCompRule 

global exclusion rule for same component applies

PairExcludedReasonSameGroupRule 

global exclusion rule for same group applies

PairExcludedReasonMatedCompRule 

global exclusion rule for mated component applies

PairExcludedReasonSamePartRule 

global exclusion rule for same part applies

PairExcludedReasonCompSuppressed 

suppressed component

PairExcludedReasonNonGeom 

no geometry

PairExcludedReasonUnitSubassy 

in unit subassembly

Specify the clearance zone type.

Enumerator
ZoneTypeObject 

object

ZoneTypePair 

pair

Member Function Documentation

void NXOpen::Assemblies::ClearanceAnalysisBuilder::AddException ( bool  isExclude,
NXOpen::DisplayableObject comp1,
NXOpen::DisplayableObject comp2,
const NXString text 
)

Add an exception.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
isExcludeexclude or include type of the exception
comp1the first object of the pair
comp2the second object of the pair
textnote for the exception
void NXOpen::Assemblies::ClearanceAnalysisBuilder::AddException ( bool  isExclude,
NXOpen::DisplayableObject comp1,
NXOpen::DisplayableObject comp2,
const char *  text 
)

Add an exception.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
isExcludeexclude or include type of the exception
comp1the first object of the pair
comp2the second object of the pair
textnote for the exception
void NXOpen::Assemblies::ClearanceAnalysisBuilder::AddObjectClearanceZone ( NXOpen::DisplayableObject object,
NXOpen::Expression expression 
)

Add a Clearance Zone around an object.

Create the expression using CreateClearanceZoneExpression if the Clearance Zone expression naming convention is desired.
Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
objectthe object
expressionthe expression
void NXOpen::Assemblies::ClearanceAnalysisBuilder::AddPairClearanceZone ( NXOpen::DisplayableObject object1,
NXOpen::DisplayableObject object2,
NXOpen::Expression expression 
)

Add a Clearance Zone between a pair of objects.

Create the expression using CreateClearanceZoneExpression if the Clearance Zone expression naming convention is desired.
Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
object1the first object
object2the second object
expressionthe expression
NXOpen::Assemblies::ClearanceAnalysisBuilder::CalculationMethodType NXOpen::Assemblies::ClearanceAnalysisBuilder::CalculationMethod ( )

Returns the setting for the clearance calculation method.


Created in NX9.0.0.

License requirements : None

NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceBetweenEntity NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceBetween ( )

Returns the setting to determine whether components or bodies should be used.

Please note that changing the collection type will clear the collections, exceptions and clearance zones from the clearance set
Created in NX9.0.0.

License requirements : None

NXString NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceSetName ( )

Returns the clearance set name.


Created in NX9.0.0.

License requirements : None

NXOpen::SelectDisplayableObjectList* NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionOneObjects ( )

Returns the selected objects for collection one.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionRange NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionOneRange ( )

Returns the range setting for collection one.


Created in NX9.0.0.

License requirements : None

NXOpen::SelectDisplayableObjectList* NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionTwoObjects ( )

Returns the selected objects for collection two.


Created in NX9.0.0.

License requirements : None

NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionRange NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionTwoRange ( )

Returns the range setting for collection two.


Created in NX9.0.0.

License requirements : None

NXOpen::Expression* NXOpen::Assemblies::ClearanceAnalysisBuilder::CreateClearanceZoneExpression ( const NXString rhsExpression)

Create an expression using the Clearance Zone naming convention.

The expression is intended for use in the following methods: NXOpen::Assemblies::ClearanceAnalysisBuilder::SetDefaultClearanceZone NXOpen::Assemblies::ClearanceAnalysisBuilder::AddPairClearanceZone NXOpen::Assemblies::ClearanceAnalysisBuilder::AddObjectClearanceZone

Returns
the new expression
Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")
Parameters
rhsExpressionthe text for the expression
NXOpen::Expression* NXOpen::Assemblies::ClearanceAnalysisBuilder::CreateClearanceZoneExpression ( const char *  rhsExpression)

Create an expression using the Clearance Zone naming convention.

The expression is intended for use in the following methods: NXOpen::Assemblies::ClearanceAnalysisBuilder::SetDefaultClearanceZone NXOpen::Assemblies::ClearanceAnalysisBuilder::AddPairClearanceZone NXOpen::Assemblies::ClearanceAnalysisBuilder::AddObjectClearanceZone

Returns
the new expression
Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")
Parameters
rhsExpressionthe text for the expression
void NXOpen::Assemblies::ClearanceAnalysisBuilder::DeleteException ( NXOpen::DisplayableObject comp1,
NXOpen::DisplayableObject comp2 
)

Delete an exception.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
comp1the first object of the pair
comp2the second object of the pair
void NXOpen::Assemblies::ClearanceAnalysisBuilder::DeleteObjectClearanceZone ( NXOpen::DisplayableObject object)

Delete an existing Clearance Zone from around an object.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
objectthe object
void NXOpen::Assemblies::ClearanceAnalysisBuilder::DeletePairClearanceZone ( NXOpen::DisplayableObject object1,
NXOpen::DisplayableObject object2 
)

Delete an existing Clearance Zone between the given pair of objects.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
object1the first object
object2the second object
NXOpen::Expression* NXOpen::Assemblies::ClearanceAnalysisBuilder::GetDefaultClearanceZone ( )

Get the default Clearance Zone expression.

If there is no expression set previously, a NULL will be returned.

Returns
the expression
Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")
bool NXOpen::Assemblies::ClearanceAnalysisBuilder::GetIsPairIncluded ( NXOpen::DisplayableObject object1,
NXOpen::DisplayableObject object2,
NXOpen::Assemblies::ClearanceAnalysisBuilder::PairExcludedReason reason,
NXString text 
)

Inquires if an object pair is to be included in the analysis.

Both objects must be solid bodies or facet models that are members of the clearance analysis data set. If the pair is to be analyzed, the includeIt is returned as TRUE. The reason parameter signifies why the pair is included or excluded. The text parameter is only returned for the NXOpen::Assemblies::ClearanceAnalysisBuilder::PairExcludedReasonUserDefined reason.

Returns
the flag
Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")
Parameters
object1the first object
object2the second object
reasonthe reason
textthe text
NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceZoneSource NXOpen::Assemblies::ClearanceAnalysisBuilder::GetObjectClearanceZone ( NXOpen::DisplayableObject object,
NXOpen::Expression **  expression 
)

Inquire the Clearance Zone assigned to a given object.

The object must be a member of the dataset. The expression, the distance, and the source are the outputs. If no expression has ever been set, the part of the given object is checked for a Clearance Zone expression, if none is found, NULL will be returned for the expression. Interpret its value as 0.0 (this is the default value). The source parameter tells where the clearance zone comes from. NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceZoneSourceDefined specifies that the object has its own Clearance Zone. NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceZoneSourceDefault means the default clearance zone is used.

Returns
the source of the clearance zone
Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")
Parameters
objectthe object
expressionthe expression
NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceZoneSource NXOpen::Assemblies::ClearanceAnalysisBuilder::GetPairClearanceZone ( NXOpen::DisplayableObject object1,
NXOpen::DisplayableObject object2,
NXOpen::Expression **  expression 
)

Inquire the Clearance Zone for a specific pair of objects.

Both objects must be members of the Clearance Set. The source parameter tells where the clearance zone comes from. The clearance zone could be the greater of the zones from object 1 or 2 (NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceZoneSourceObject1 or NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceZoneSourceObject2 . NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceZoneSourcePair means this pair has its own explicit clearance zone. NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceZoneSourceDefault means the default clearance zone is used..

Returns
the source of the clearance zone
Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")
Parameters
object1the first object
object2the second object
expressionthe corresponding expression
NXOpen::NXColor* NXOpen::Assemblies::ClearanceAnalysisBuilder::InterferenceColor ( )

Returns the color of the interference geometry.


Created in NX9.0.0.

License requirements : None

bool NXOpen::Assemblies::ClearanceAnalysisBuilder::IsCalculatePenetrationDepth ( )

Returns the setting to determine whether penetration depth should be calculated.


Created in NX9.0.0.

License requirements : None

bool NXOpen::Assemblies::ClearanceAnalysisBuilder::IsIgnorePairsWithinSameGroup ( )

Returns the setting to determine whether to ignore pairs within same group.


Created in NX9.0.0.

License requirements : None

bool NXOpen::Assemblies::ClearanceAnalysisBuilder::IsIgnorePairsWithinSamePart ( )

Returns the setting to determine whether to ignore pairs within same part.


Created in NX9.0.0.

License requirements : None

bool NXOpen::Assemblies::ClearanceAnalysisBuilder::IsIgnorePairsWithinSameSubassembly ( )

Returns the setting to determine whether to ignore pairs within same subassembly.


Created in NX9.0.0.

License requirements : None

bool NXOpen::Assemblies::ClearanceAnalysisBuilder::IsIgnorePairsWithinSelectedSubassemblies ( )

Returns the setting to determine whether to ignore pairs within the selected subassemblies.


Created in NX9.0.0.

License requirements : None

int NXOpen::Assemblies::ClearanceAnalysisBuilder::Layer ( )

Returns the layer for interference geometry.


Created in NX9.0.0.

License requirements : None

bool NXOpen::Assemblies::ClearanceAnalysisBuilder::SaveInterferenceGeometry ( )

Returns the setting to determine if interference geometry should be saved.


Created in NX9.0.0.

License requirements : None

void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetCalculatePenetrationDepth ( bool  isCalculatePenetrationDepth)

Sets the setting to determine whether penetration depth should be calculated.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
isCalculatePenetrationDepthiscalculatepenetrationdepth
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetCalculationMethod ( NXOpen::Assemblies::ClearanceAnalysisBuilder::CalculationMethodType  calculateMethod)

Sets the setting for the clearance calculation method.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
calculateMethodcalculatemethod
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetClearanceBetween ( NXOpen::Assemblies::ClearanceAnalysisBuilder::ClearanceBetweenEntity  clearanceBetweenEntity)

Sets the setting to determine whether components or bodies should be used.

Please note that changing the collection type will clear the collections, exceptions and clearance zones from the clearance set
Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
clearanceBetweenEntityclearancebetweenentity
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetClearanceSetName ( const NXString clearanceSetName)

Sets the clearance set name.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
clearanceSetNameclearancesetname
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetClearanceSetName ( const char *  clearanceSetName)

Sets the clearance set name.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
clearanceSetNameclearancesetname
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetCollectionOneRange ( NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionRange  collectionRange)

Sets the range setting for collection one.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
collectionRangecollectionrange
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetCollectionTwoRange ( NXOpen::Assemblies::ClearanceAnalysisBuilder::CollectionRange  collectionRange)

Sets the range setting for collection two.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
collectionRangecollectionrange
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetDefaultClearanceZone ( NXOpen::Expression expression)

Set the expression as the default Clearance Zone.

Create the expression using CreateClearanceZoneExpression if the Clearance Zone expression naming convention is desired.
Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
expressionthe expression
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetIgnorePairsWithinSameGroup ( bool  isIgnorePairsWithinSameGroup)

Sets the setting to determine whether to ignore pairs within same group.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
isIgnorePairsWithinSameGroupisignorepairswithinsamegroup
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetIgnorePairsWithinSamePart ( bool  isIgnorePairsWithinSamePart)

Sets the setting to determine whether to ignore pairs within same part.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
isIgnorePairsWithinSamePartisignorepairswithinsamepart
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetIgnorePairsWithinSameSubassembly ( bool  isIgnorePairsWithinSameSubassembly)

Sets the setting to determine whether to ignore pairs within same subassembly.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
isIgnorePairsWithinSameSubassemblyisignorepairswithinsamesubassembly
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetIgnorePairsWithinSelectedSubassemblies ( bool  isIgnorePairsWithinSelectedSubassemblies)

Sets the setting to determine whether to ignore pairs within the selected subassemblies.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
isIgnorePairsWithinSelectedSubassembliesisignorepairswithinselectedsubassemblies
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetInterferenceColor ( NXOpen::NXColor color)

Sets the color of the interference geometry.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
colorcolor
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetLayer ( int  layer)

Sets the layer for interference geometry.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
layerlayer
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetSaveInterferenceGeometry ( bool  saveInterferenceGeometry)

Sets the setting to determine if interference geometry should be saved.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
saveInterferenceGeometrysaveinterferencegeometry
void NXOpen::Assemblies::ClearanceAnalysisBuilder::SetTotalCollectionCount ( NXOpen::Assemblies::ClearanceAnalysisBuilder::NumberOfCollections  totalCollectionCount)

Sets the setting to determine whether one collection or two collections should be used.


Created in NX9.0.0.

License requirements : assemblies ("ASSEMBLIES MODULE")

Parameters
totalCollectionCounttotalcollectioncount
NXOpen::Assemblies::ClearanceAnalysisBuilder::NumberOfCollections NXOpen::Assemblies::ClearanceAnalysisBuilder::TotalCollectionCount ( )

Returns the setting to determine whether one collection or two collections should be used.


Created in NX9.0.0.

License requirements : None

NXOpen::SelectDisplayableObjectList* NXOpen::Assemblies::ClearanceAnalysisBuilder::UnitSubassemblies ( )

Returns the selected unit subassemblies.


Created in NX9.0.0.

License requirements : None


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