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

Represents the Examine Geometry class
To create a new instance of this class, use NXOpen::GeometricAnalysis::AnalysisManager::CreateExamineGeometryObject

Created in NX5.0.0. More...

Inheritance diagram for NXOpen::GeometricAnalysis::ExamineGeometry:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  Check {
  CheckObjectTiny, CheckObjectMisaligned, CheckBodyDataStructures, CheckBodyConsistency,
  CheckBodyFaceIntersections, CheckBodySheetBoundaries, CheckFaceSmoothness, CheckFaceSelfIntersection,
  CheckFaceSpikesCuts, CheckEdgeSmoothness, CheckEdgeTolerances, CheckNumChecks
}
 Types of checks. More...
 

Public Member Functions

double CheckCriteriaAngle ()
 Returns the Check Criteria Angle
Created in NX5.0.0. More...
 
double CheckCriteriaDistance ()
 Returns the Check Criteria Distance
Created in NX5.0.0. More...
 
void ClearAllChecks ()
 Clear or unset all types of checks
Created in NX5.0.0. More...
 
void ClearCheck (NXOpen::GeometricAnalysis::ExamineGeometry::Check check)
 Clear or unset a specified type of check
Created in NX5.0.0. More...
 
void DisplayResultsAsInfo ()
 Displays the results in the information window
Created in NX5.0.0. More...
 
void Examine ()
 Examines the geometry. More...
 
std::vector< NXOpen::NXObject * > GetFailedObjects (NXOpen::GeometricAnalysis::ExamineGeometry::Check check)
 Returns the objects that failed a given type of check. More...
 
std::vector< int > GetResults ()
 Returns an array containing the number of objects that failed each check. More...
 
bool HighlightResult (NXOpen::GeometricAnalysis::ExamineGeometry::Check check)
 Highlights results of a specified type of check. More...
 
NXOpen::SelectObjectListObjectsToExamine ()
 Returns the Objects to examine
Created in NX5.0.0. More...
 
void SetAllChecks ()
 Set all types of checks to examine
Created in NX5.0.0. More...
 
void SetCheck (NXOpen::GeometricAnalysis::ExamineGeometry::Check check)
 Set a specified type of check for examine geometry
Created in NX5.0.0. More...
 
void SetCheckCriteriaAngle (double angle)
 Sets the Check Criteria Angle
Created in NX5.0.0. More...
 
void SetCheckCriteriaDistance (double distance)
 Sets the Check Criteria Distance
Created in NX5.0.0. More...
 
void UnhighlightAllResults ()
 Unhighlight all results
Created in NX5.0.0. More...
 
void UnhighlightResult (NXOpen::GeometricAnalysis::ExamineGeometry::Check check)
 Unhighlight results of a specified type of check
Created in NX5.0.0. 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 the Examine Geometry class
To create a new instance of this class, use NXOpen::GeometricAnalysis::AnalysisManager::CreateExamineGeometryObject

Created in NX5.0.0.


Member Enumeration Documentation

Types of checks.

Enumerator
CheckObjectTiny 

ObjectTiny.

CheckObjectMisaligned 

ObjectMisaligned.

CheckBodyDataStructures 

BodyDataStructures.

CheckBodyConsistency 

BodyConsistency.

CheckBodyFaceIntersections 

BodyFaceIntersections.

CheckBodySheetBoundaries 

BodySheetBoundaries.

CheckFaceSmoothness 

FaceSmoothness.

CheckFaceSelfIntersection 

FaceSelfIntersection.

CheckFaceSpikesCuts 

FaceSpikesCuts.

CheckEdgeSmoothness 

EdgeSmoothness.

CheckEdgeTolerances 

EdgeTolerances.

CheckNumChecks 

Number of Checks.

Member Function Documentation

double NXOpen::GeometricAnalysis::ExamineGeometry::CheckCriteriaAngle ( )

Returns the Check Criteria Angle
Created in NX5.0.0.



License requirements : None

double NXOpen::GeometricAnalysis::ExamineGeometry::CheckCriteriaDistance ( )

Returns the Check Criteria Distance
Created in NX5.0.0.



License requirements : None

void NXOpen::GeometricAnalysis::ExamineGeometry::ClearAllChecks ( )

Clear or unset all types of checks
Created in NX5.0.0.



License requirements : None

void NXOpen::GeometricAnalysis::ExamineGeometry::ClearCheck ( NXOpen::GeometricAnalysis::ExamineGeometry::Check  check)

Clear or unset a specified type of check
Created in NX5.0.0.



License requirements : None

Parameters
checkType of Check
void NXOpen::GeometricAnalysis::ExamineGeometry::DisplayResultsAsInfo ( )

Displays the results in the information window
Created in NX5.0.0.



License requirements : None

void NXOpen::GeometricAnalysis::ExamineGeometry::Examine ( )

Examines the geometry.

Before calling this method, use NXOpen::GeometricAnalysis::ExamineGeometry::SetCheck and NXOpen::GeometricAnalysis::ExamineGeometry::ClearCheck to specify which checks to perform and use NXOpen::GeometricAnalysis::ExamineGeometry::ObjectsToExamine to specify which objects to examine. After calling this method, use NXOpen::GeometricAnalysis::ExamineGeometry::GetResults and NXOpen::GeometricAnalysis::ExamineGeometry::GetFailedObjects to get the results.
Created in NX5.0.0.

License requirements : None

std::vector<NXOpen::NXObject *> NXOpen::GeometricAnalysis::ExamineGeometry::GetFailedObjects ( NXOpen::GeometricAnalysis::ExamineGeometry::Check  check)

Returns the objects that failed a given type of check.

You should call NXOpen::GeometricAnalysis::ExamineGeometry::Examine before calling this method.

Returns
Objects that failed above check during Examine Geometry
Created in NX5.0.0.

License requirements : None
Parameters
checkType of Check
std::vector<int> NXOpen::GeometricAnalysis::ExamineGeometry::GetResults ( )

Returns an array containing the number of objects that failed each check.

You should call NXOpen::GeometricAnalysis::ExamineGeometry::Examine before calling this method. The array contains an entry for each check in the NXOpen::GeometricAnalysis::ExamineGeometry::Check enumeration. The nth item in the array corresponds to the nth check in the NXOpen::GeometricAnalysis::ExamineGeometry::Check enumeration. For example, the first item in the array is the number of objects that failed the GeometricAnalysis::ExamineGeometry::CheckObjectTiny check. The corresponding entry in the array will be as follows:

Returns
Results of Examine Geometry
Created in NX5.0.0.

License requirements : None
bool NXOpen::GeometricAnalysis::ExamineGeometry::HighlightResult ( NXOpen::GeometricAnalysis::ExamineGeometry::Check  check)

Highlights results of a specified type of check.

If the highlighting fails for some of the entities, it returns True, otherwise False. Highlighting can fail when the entities are corrupt or missing the information needed to display properly. Remaining entities are highlighted when highlighting fails for some entities.

Returns
Return status of the method. If return values equals false, display was successful. if return value is true, display of some objects failed.
Created in NX5.0.0.

License requirements : None
Parameters
checkType of Check
NXOpen::SelectObjectList* NXOpen::GeometricAnalysis::ExamineGeometry::ObjectsToExamine ( )

Returns the Objects to examine
Created in NX5.0.0.



License requirements : None

void NXOpen::GeometricAnalysis::ExamineGeometry::SetAllChecks ( )

Set all types of checks to examine
Created in NX5.0.0.



License requirements : None

void NXOpen::GeometricAnalysis::ExamineGeometry::SetCheck ( NXOpen::GeometricAnalysis::ExamineGeometry::Check  check)

Set a specified type of check for examine geometry
Created in NX5.0.0.



License requirements : None

Parameters
checkType of Check
void NXOpen::GeometricAnalysis::ExamineGeometry::SetCheckCriteriaAngle ( double  angle)

Sets the Check Criteria Angle
Created in NX5.0.0.



License requirements : None

Parameters
angleangle
void NXOpen::GeometricAnalysis::ExamineGeometry::SetCheckCriteriaDistance ( double  distance)

Sets the Check Criteria Distance
Created in NX5.0.0.



License requirements : None

Parameters
distancedistance
void NXOpen::GeometricAnalysis::ExamineGeometry::UnhighlightAllResults ( )

Unhighlight all results
Created in NX5.0.0.



License requirements : None

void NXOpen::GeometricAnalysis::ExamineGeometry::UnhighlightResult ( NXOpen::GeometricAnalysis::ExamineGeometry::Check  check)

Unhighlight results of a specified type of check
Created in NX5.0.0.



License requirements : None

Parameters
checkType of Check

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