NX Open C++ Reference Guide
|
Represents the Examine Geometry class
To create a new instance of this class, use GeometricAnalysis::AnalysisManager::CreateExamineGeometryObject
Created in NX5.0.0.
More...
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. | |
double | CheckCriteriaDistance () |
Returns the Check Criteria Distance Created in NX5.0.0. | |
void | ClearAllChecks () |
Clear or unset all types of checks Created in NX5.0.0. | |
void | ClearCheck (NXOpen::GeometricAnalysis::ExamineGeometry::Check check) |
Clear or unset a specified type of check Created in NX5.0.0. | |
void | DisplayResultsAsInfo () |
Displays the results in the information window Created in NX5.0.0. | |
void | Examine () |
Examines the geometry. | |
std::vector< NXOpen::NXObject * > | GetFailedObjects (NXOpen::GeometricAnalysis::ExamineGeometry::Check check) |
Returns the objects that failed a given type of check. | |
std::vector< int > | GetResults () |
Returns an array containing the number of objects that failed each check. | |
bool | HighlightResult (NXOpen::GeometricAnalysis::ExamineGeometry::Check check) |
Highlights results of a specified type of check. | |
NXOpen::SelectObjectList * | ObjectsToExamine () |
Returns the Objects to examine Created in NX5.0.0. | |
void | SetAllChecks () |
Set all types of checks to examine Created in NX5.0.0. | |
void | SetCheck (NXOpen::GeometricAnalysis::ExamineGeometry::Check check) |
Set a specified type of check for examine geometry Created in NX5.0.0. | |
void | SetCheckCriteriaAngle (double angle) |
Sets the Check Criteria Angle Created in NX5.0.0. | |
void | SetCheckCriteriaDistance (double distance) |
Sets the Check Criteria Distance Created in NX5.0.0. | |
void | UnhighlightAllResults () |
Unhighlight all results Created in NX5.0.0. | |
void | UnhighlightResult (NXOpen::GeometricAnalysis::ExamineGeometry::Check check) |
Unhighlight results of a specified type of check Created in NX5.0.0. |
Represents the Examine Geometry class
To create a new instance of this class, use GeometricAnalysis::AnalysisManager::CreateExamineGeometryObject
Created in NX5.0.0.
Types of checks.
Returns the Check Criteria Angle
Created in NX5.0.0.
License requirements : None
Returns the Check Criteria Distance
Created in NX5.0.0.
License requirements : None
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
check | Type of Check |
Displays the results in the information window
Created in NX5.0.0.
License requirements : None
Examines the geometry.
Before calling this method, use GeometricAnalysis::ExamineGeometry::SetCheck and GeometricAnalysis::ExamineGeometry::ClearCheck to specify which checks to perform and use GeometricAnalysis::ExamineGeometry::ObjectsToExamine to specify which objects to examine. After calling this method, use GeometricAnalysis::ExamineGeometry::GetResults and 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 Examine before calling this method.
check | Type of Check |
std::vector<int> NXOpen::GeometricAnalysis::ExamineGeometry::GetResults | ( | ) |
Returns an array containing the number of objects that failed each check.
You should call Examine before calling this method. The array contains an entry for each check in the Check enumeration. The nth item in the array corresponds to the nth check in the 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:
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.
check | Type of Check |
Returns the Objects to examine
Created in NX5.0.0.
License requirements : None
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
check | Type of Check |
void NXOpen::GeometricAnalysis::ExamineGeometry::SetCheckCriteriaAngle | ( | double | angle | ) |
Sets the Check Criteria Angle
Created in NX5.0.0.
License requirements : None
angle | angle |
void NXOpen::GeometricAnalysis::ExamineGeometry::SetCheckCriteriaDistance | ( | double | distance | ) |
Sets the Check Criteria Distance
Created in NX5.0.0.
License requirements : None
distance | distance |
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
check | Type of Check |