NX Open C++ Reference Guide
Public Member Functions
NXOpen::Features::FaceRecognitionBuilder Class Reference

Represents a collection of faces and their relationships to other faces in the model
Created in NX6.0.0. More...

Inheritance diagram for NXOpen::Features::FaceRecognitionBuilder:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Member Functions

bool CoaxialEnabled ()
 Returns a value that indicates whether coaxial relation recognition is enabled
Created in NX6.0.0.
bool CoplanarAxesEnabled ()
 Returns a value that indicates whether coplanar axes relation recognition is enabled
Created in NX6.0.0.
bool CoplanarEnabled ()
 Returns a value that indicates whether coplanar relation recognition is enabled
Created in NX6.0.0.
void DeleteConstraint (NXOpen::Features::Feature *feature)
 Deletes the persistent constraint
Created in NX7.0.0.
void DeleteOffsetRelation (const std::vector< NXOpen::NXObject * > &offsetFaces)
 Deletes the offset relation
Created in NX7.0.0.
void DeselectEntities (const std::vector< NXOpen::NXObject * > &entities)
 Removes entities from collector
Created in NX6.0.0.
bool EqualDiameterEnabled ()
 Returns a value that indicates whether equal diameter recognition is enabled
Created in NX6.0.0.
NXOpen::ScCollectorFaceCollector ()
 Returns the face collector
Created in NX6.0.0.
void LockConstraint (NXOpen::Features::Feature *feature)
 Locks the persistent constraint
Created in NX7.0.0.
bool OffsetEnabled ()
 Returns a value that indicates whether symmetric relation recognition is enabled
Created in NX7.0.0.
bool ParallelEnabled ()
 Returns a value that indicates whether parallel relation recognition is enabled
Created in NX6.0.0.
bool PerpendicularEnabled ()
 Returns a value that indicates whether perpendicular relation recognition is enabled
Created in NX6.0.0.
void RecognizeCoaxial (bool isNear)
 Recognizes coaxial relations to last faces added to face collector
Created in NX6.0.0.
void RecognizeCoplanar (bool isNear)
 Recognizes coplanar relations to last faces added to face collector
Created in NX6.0.0.
void RecognizeCoplanarAxes (bool isNear)
 Recognizes coplanar axes relations to last faces added to face collector
Created in NX6.0.0.
void RecognizeEqualDiameter (bool isNear)
 Recognizes equal diameter relations to last faces added to face collector
Created in NX6.0.0.
void RecognizeOffset (bool isNear)
 Recognizes offset relations to last faces added to face collector
Created in NX6.0.0.
void RecognizeParallel (bool isNear)
 Recognizes parallel relations to last faces added to face collector
Created in NX6.0.0.
void RecognizePerpendicular (bool isNear)
 Recognizes perpendicular relations to last faces added to face collector
Created in NX6.0.0.
void RecognizeSymmetric (bool isNear)
 Recognizes symmetric relations to last faces added to face collector
Created in NX6.0.0.
void RecognizeTangent (bool isNear)
 Recognizes tangent relations to last faces added to face collector
Created in NX6.0.0.
void RecognizeThicknessChain (bool isNear)
 Recognizes thickness chain relations to last faces added to face collector
Created in NX7.0.0.
NXOpen::GeometricUtilities::OrientXpressBuilderReferenceCoordinateSystem ()
 Returns the reference coordinate system to use for symmetry and coplanar axis recognition
Created in NX6.0.0.
int RelationScope ()
 Returns a value that indicates what kind of relations are needed to recognize
Created in NX7.5.0.
void ReplaceRules (const std::vector< NXOpen::SelectionIntentRule * > &rules, bool createRulesWoUpdate)
 Replace collector rules.
void SelectEntities (const std::vector< NXOpen::NXObject * > &entities)
 Adds entities to collector
Created in NX6.0.0.
void SetCoaxialEnabled (bool coaxialEnabled)
 Sets a value that indicates whether coaxial relation recognition is enabled
Created in NX6.0.0.
void SetCoplanarAxesEnabled (bool coplanarEnabled)
 Sets a value that indicates whether coplanar axes relation recognition is enabled
Created in NX6.0.0.
void SetCoplanarEnabled (bool coplanarEnabled)
 Sets a value that indicates whether coplanar relation recognition is enabled
Created in NX6.0.0.
void SetEqualDiameterEnabled (bool equalDiameterEnabled)
 Sets a value that indicates whether equal diameter recognition is enabled
Created in NX6.0.0.
void SetOffsetEnabled (bool offsetEnabled)
 Sets a value that indicates whether symmetric relation recognition is enabled
Created in NX7.0.0.
void SetParallelEnabled (bool parallelEnabled)
 Sets a value that indicates whether parallel relation recognition is enabled
Created in NX6.0.0.
void SetPerpendicularEnabled (bool perpendicularEnabled)
 Sets a value that indicates whether perpendicular relation recognition is enabled
Created in NX6.0.0.
void SetRelationScope (int relationScope)
 Sets a value that indicates what kind of relations are needed to recognize
Created in NX7.5.0.
void SetSymmetricEnabled (bool symmetricEnabled)
 Sets a value that indicates whether symmetric relation recognition is enabled
Created in NX6.0.0.
void SetTangentEnabled (bool tangentEnabled)
 Sets a value that indicates whether tangent relation recognition is enabled
Created in NX6.0.0.
void SetThicknessChainEnabled (bool thicknessChainEnabled)
 Sets a value that indicates whether thickness chain relation recognition is enabled
Created in NX7.0.0.
void SetUseFaceBrowse (bool useFaceBrowse)
 Sets a value that indicates whether relations are found when faces are added to the face collector
Created in NX6.0.0.
bool SymmetricEnabled ()
 Returns a value that indicates whether symmetric relation recognition is enabled
Created in NX6.0.0.
bool TangentEnabled ()
 Returns a value that indicates whether tangent relation recognition is enabled
Created in NX6.0.0.
bool ThicknessChainEnabled ()
 Returns a value that indicates whether thickness chain relation recognition is enabled
Created in NX7.0.0.
void UnlockConstraint (NXOpen::Features::Feature *feature)
 Unlocks the persistent constraint
Created in NX7.0.0.
void UnrecognizeCoaxial (bool isNear)
 Removes coaxial relations to last faces added to face collector
Created in NX6.0.0.
void UnrecognizeCoplanar (bool isNear)
 Removes coplanar relations to last faces added to face collector
Created in NX6.0.0.
void UnrecognizeCoplanarAxes (bool isNear)
 Removes coplanar axes relations to last faces added to face collector
Created in NX6.0.0.
void UnrecognizeEqualDiameter (bool isNear)
 Removes equal diameter relations to last faces added to face collector
Created in NX6.0.0.
void UnrecognizeOffset (bool isNear)
 Removes offset relations to last faces added to face collector
Created in NX6.0.0.
void UnrecognizeParallel (bool isNear)
 Removes parallel relations to last faces added to face collector
Created in NX6.0.0.
void UnrecognizePerpendicular (bool isNear)
 Removes perpendicular relations to last faces added to face collector
Created in NX6.0.0.
void UnrecognizeSymmetric (bool isNear)
 Removes symmetric relations to last faces added to face collector
Created in NX6.0.0.
void UnrecognizeTangent (bool isNear)
 Removes tangent relations to last faces added to face collector
Created in NX6.0.0.
void UnrecognizeThicknessChain (bool isNear)
 Removes thickness chain relations to last faces added to face collector
Created in NX7.0.0.
bool UseFaceBrowse ()
 Returns a value that indicates whether relations are found when faces are added to the face collector
Created in NX6.0.0.
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called.

Detailed Description

Represents a collection of faces and their relationships to other faces in the model
Created in NX6.0.0.



Member Function Documentation

Returns a value that indicates whether coaxial relation recognition is enabled
Created in NX6.0.0.



License requirements : None

Returns a value that indicates whether coplanar axes relation recognition is enabled
Created in NX6.0.0.



License requirements : None

Returns a value that indicates whether coplanar relation recognition is enabled
Created in NX6.0.0.



License requirements : None

Deletes the persistent constraint
Created in NX7.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
featurethe persistent constraint feature

Deletes the offset relation
Created in NX7.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
offsetFacesoffsetfaces

Removes entities from collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
entitiesentities

Returns a value that indicates whether equal diameter recognition is enabled
Created in NX6.0.0.



License requirements : None

Returns the face collector
Created in NX6.0.0.



License requirements : None

Locks the persistent constraint
Created in NX7.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
featurethe persistent constraint feature

Returns a value that indicates whether symmetric relation recognition is enabled
Created in NX7.0.0.



License requirements : None

Returns a value that indicates whether parallel relation recognition is enabled
Created in NX6.0.0.



License requirements : None

Returns a value that indicates whether perpendicular relation recognition is enabled
Created in NX6.0.0.



License requirements : None

Recognizes coaxial relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Recognizes coplanar relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Recognizes coplanar axes relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Recognizes equal diameter relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Recognizes offset relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Recognizes parallel relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Recognizes perpendicular relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Recognizes symmetric relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Recognizes tangent relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Recognizes thickness chain relations to last faces added to face collector
Created in NX7.0.0.



License requirements : nx_sheet_metal ("NX Sheet Metal")

Parameters:
isNeartrue for near relations, false for far relations

Returns the reference coordinate system to use for symmetry and coplanar axis recognition
Created in NX6.0.0.



License requirements : None

Returns a value that indicates what kind of relations are needed to recognize
Created in NX7.5.0.



License requirements : None

void NXOpen::Features::FaceRecognitionBuilder::ReplaceRules ( const std::vector< NXOpen::SelectionIntentRule * > &  rules,
bool  createRulesWoUpdate 
)

Replace collector rules.


Created in NX7.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
rulesSelection intent rules. To create selection intent rules see documentation of ScRuleFactory for more details.
createRulesWoUpdateFlag to tell whether rules should be created wo_update

Adds entities to collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
entitiesentities

Sets a value that indicates whether coaxial relation recognition is enabled
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
coaxialEnabledcoaxialenabled

Sets a value that indicates whether coplanar axes relation recognition is enabled
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
coplanarEnabledcoplanarenabled

Sets a value that indicates whether coplanar relation recognition is enabled
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
coplanarEnabledcoplanarenabled

Sets a value that indicates whether equal diameter recognition is enabled
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
equalDiameterEnabledequaldiameterenabled

Sets a value that indicates whether symmetric relation recognition is enabled
Created in NX7.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
offsetEnabledoffsetenabled

Sets a value that indicates whether parallel relation recognition is enabled
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
parallelEnabledparallelenabled

Sets a value that indicates whether perpendicular relation recognition is enabled
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
perpendicularEnabledperpendicularenabled

Sets a value that indicates what kind of relations are needed to recognize
Created in NX7.5.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
relationScoperelationscope

Sets a value that indicates whether symmetric relation recognition is enabled
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
symmetricEnabledsymmetricenabled

Sets a value that indicates whether tangent relation recognition is enabled
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
tangentEnabledtangentenabled

Sets a value that indicates whether thickness chain relation recognition is enabled
Created in NX7.0.0.



License requirements : nx_sheet_metal ("NX Sheet Metal")

Parameters:
thicknessChainEnabledthicknesschainenabled

Sets a value that indicates whether relations are found when faces are added to the face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
useFaceBrowseusefacebrowse

Returns a value that indicates whether symmetric relation recognition is enabled
Created in NX6.0.0.



License requirements : None

Returns a value that indicates whether tangent relation recognition is enabled
Created in NX6.0.0.



License requirements : None

Returns a value that indicates whether thickness chain relation recognition is enabled
Created in NX7.0.0.



License requirements : None

Unlocks the persistent constraint
Created in NX7.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
featurethe persistent constraint feature

Removes coaxial relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Removes coplanar relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Removes coplanar axes relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Removes equal diameter relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Removes offset relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Removes parallel relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Removes perpendicular relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Removes symmetric relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Removes tangent relations to last faces added to face collector
Created in NX6.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
isNeartrue for near relations, false for far relations

Removes thickness chain relations to last faces added to face collector
Created in NX7.0.0.



License requirements : nx_sheet_metal ("NX Sheet Metal")

Parameters:
isNeartrue for near relations, false for far relations

Returns a value that indicates whether relations are found when faces are added to the face collector
Created in NX6.0.0.



License requirements : None

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.

Returns:
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.


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