public interface ExamineGeometry extends Builder
AnalysisManager.createExamineGeometryObject()
Modifier and Type | Interface and Description |
---|---|
static class |
ExamineGeometry.Check
Types of checks
|
Modifier and Type | Method and Description |
---|---|
double |
checkCriteriaAngle()
Returns the Check Criteria Angle
License requirements: None. |
double |
checkCriteriaDistance()
Returns the Check Criteria Distance
License requirements: None. |
void |
clearAllChecks()
Clear or unset all types of checks
License requirements: None. |
void |
clearCheck(ExamineGeometry.Check check)
Clear or unset a specified type of check
License requirements: None. |
void |
displayResultsAsInfo()
Displays the results in the information window
License requirements: None. |
void |
examine()
Examines the geometry.
|
NXObject[] |
getFailedObjects(ExamineGeometry.Check check)
Returns the objects that failed a given type of check.
|
int[] |
getResults()
Returns an array containing the number of objects that failed each check.
|
boolean |
highlightResult(ExamineGeometry.Check check)
Highlights results of a specified type of check.
|
SelectObjectList |
objectsToExamine()
Returns the Objects to examine
License requirements: None. |
void |
setAllChecks()
Set all types of checks to examine
License requirements: None. |
void |
setCheck(ExamineGeometry.Check check)
Set a specified type of check for examine geometry
License requirements: None. |
void |
setCheckCriteriaAngle(double angle)
License requirements: None. |
void |
setCheckCriteriaDistance(double distance)
License requirements: None. |
void |
unhighlightAllResults()
Unhighlight all results
License requirements: None. |
void |
unhighlightResult(ExamineGeometry.Check check)
Unhighlight results of a specified type of check
License requirements: None. |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
SelectObjectList objectsToExamine() throws NXException, RemoteException
NXException
RemoteException
void setAllChecks() throws NXException, RemoteException
NXException
RemoteException
void clearAllChecks() throws NXException, RemoteException
NXException
RemoteException
void setCheck(ExamineGeometry.Check check) throws NXException, RemoteException
check
- Type of CheckNXException
RemoteException
void clearCheck(ExamineGeometry.Check check) throws NXException, RemoteException
check
- Type of CheckNXException
RemoteException
void setCheckCriteriaDistance(double distance) throws NXException, RemoteException
distance
- NXException
RemoteException
double checkCriteriaDistance() throws NXException, RemoteException
NXException
RemoteException
void setCheckCriteriaAngle(double angle) throws NXException, RemoteException
angle
- NXException
RemoteException
double checkCriteriaAngle() throws NXException, RemoteException
NXException
RemoteException
void examine() throws NXException, RemoteException
setCheck(nxopen.geometricanalysis.ExamineGeometry.Check)
and clearCheck(nxopen.geometricanalysis.ExamineGeometry.Check)
to specify which checks to perform and use objectsToExamine()
to specify which objects to examine. After calling this method,
use getResults()
and
getFailedObjects(nxopen.geometricanalysis.ExamineGeometry.Check)
to get the results.
NXException
RemoteException
int[] getResults() throws NXException, RemoteException
examine()
before calling this
method. The array contains an entry for each check in the
ExamineGeometry.Check
enumeration. The nth item in the array corresponds to
the nth check in the ExamineGeometry.Check
enumeration. For example, the
first item in the array is the number of objects that failed the
ExamineGeometry.Check.OBJECT_TINY
check.
The corresponding entry in the array will be as follows:
ExamineGeometry.Check
is selected, no objects relevant to that type
of ExamineGeometry.Check
are selected. For example, no bodies are selected yet the
ExamineGeometry.Check.BODY_DATA_STRUCTURES
check is
set or selected. ExamineGeometry.Check
not performed as other relevant ExamineGeometry.Check
failed. This occurs when
ExamineGeometry.Check.BODY_CONSISTENCY
and/or ExamineGeometry.Check.BODY_FACE_INTERSECTIONS
check is set along with
ExamineGeometry.Check.BODY_DATA_STRUCTURES
check.
If ExamineGeometry.Check.BODY_DATA_STRUCTURES
check
failed, ExamineGeometry.Check.BODY_CONSISTENCY
and/or
ExamineGeometry.Check.BODY_FACE_INTERSECTIONS
will
not be performed. NXException
RemoteException
NXObject[] getFailedObjects(ExamineGeometry.Check check) throws NXException, RemoteException
examine()
before calling this method.
check
- Type of CheckNXException
RemoteException
boolean highlightResult(ExamineGeometry.Check check) throws NXException, RemoteException
check
- Type of CheckNXException
RemoteException
void unhighlightResult(ExamineGeometry.Check check) throws NXException, RemoteException
check
- Type of CheckNXException
RemoteException
void unhighlightAllResults() throws NXException, RemoteException
NXException
RemoteException
void displayResultsAsInfo() throws NXException, RemoteException
NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.