DeviationChecking Class¶
-
class
NXOpen.GeometricAnalysis.DeviationChecking¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.GeometricAnalysis.DeviationCheckingTo create a new instance of this class, use
NXOpen.GeometricAnalysis.AnalysisManager.CreateDeviationCheckingObject()New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| AngleTolerance | Returns or sets the angle tolerance to be used for the deviation checking |
| Curve | Returns the curve - required for the deviation checking when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToFace. |
| DeviationOption | Returns or sets the number or type of deviations to be shown for the deviation checking |
| DistanceTolerance | Returns or sets the distance tolerance to be used for the deviation checking |
| FaceOfFirstEdge | Returns the face associated with the first edge or edge - required for the deviation checking when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge or NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToFace. |
| FaceOfSecondEdge | Returns the face associated with the second edge - required for the deviation checking when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge. |
| FirstCurve | Returns the first curve or edge - required for the deviation checking when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToCurve. |
| FirstEdge | Returns the first edge or edge - required for the deviation checking when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge or NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToFace. |
| FirstFace | Returns the first face - required for the deviation checking when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.FaceToFace. |
| NumberCheckPoints | Returns or sets the number of check points to be shown for the deviation checking - required when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToCurve or NXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToFace or NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToFace or NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge. |
| NumberUcheckPoints | Returns or sets the number of u check points to be shown for the deviation checking - required when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.FaceToFace |
| NumberVcheckPoints | Returns or sets the number of v check points to be shown for the deviation checking - required when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.FaceToFace |
| SecondCurve | Returns the second curve or edge - required for the deviation checking when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToCurve. |
| SecondEdge | Returns the second edge - required for the deviation checking when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge. |
| SecondFace | Returns the second face - required for the deviation checking when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.FaceToFace or the face - required for the deviation checking when NXOpen.GeometricAnalysis.DeviationChecking.Type`() is set to NXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToFace or NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToFace. |
| Tag | Returns the Tag for this object. |
| Type | Returns or sets the deviation checking type. |
Methods¶
| Method | Description |
|---|---|
| Check | Performs deviation checking. |
| Commit | Commits any edits that have been applied to the builder. |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
| GetObject | Returns the object currently being edited by this builder. |
| ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| DeviationCheckingDeviationOptions Enumeration | the deviation type to be shown |
| DeviationCheckingTypes Enumeration | the type of deviation checking to be performed |
Property Detail¶
AngleTolerance¶
-
DeviationChecking.AngleTolerance¶ Returns or sets the angle tolerance to be used for the deviation checking
-------------------------------------Getter Method
Signature
AngleToleranceReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AngleToleranceParameters: angleTolerance (float) – New in version NX6.0.0.
License requirements: None.
Curve¶
-
DeviationChecking.Curve¶ Returns the curve - required for the deviation checking when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToFace.-------------------------------------Getter Method
Signature
CurveReturns: Return type: NXOpen.SelectIBaseCurveNew in version NX6.0.0.
License requirements: None.
DeviationOption¶
-
DeviationChecking.DeviationOption¶ Returns or sets the number or type of deviations to be shown for the deviation checking
-------------------------------------Getter Method
Signature
DeviationOptionReturns: Return type: NXOpen.GeometricAnalysis.DeviationCheckingDeviationOptionsNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DeviationOptionParameters: deviationOption ( NXOpen.GeometricAnalysis.DeviationCheckingDeviationOptions) –New in version NX6.0.0.
License requirements: None.
DistanceTolerance¶
-
DeviationChecking.DistanceTolerance¶ Returns or sets the distance tolerance to be used for the deviation checking
-------------------------------------Getter Method
Signature
DistanceToleranceReturns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DistanceToleranceParameters: distanceTolerance (float) – New in version NX6.0.0.
License requirements: None.
FaceOfFirstEdge¶
-
DeviationChecking.FaceOfFirstEdge¶ Returns the face associated with the first edge or edge - required for the deviation checking when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdgeorNXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToFace.-------------------------------------Getter Method
Signature
FaceOfFirstEdgeReturns: Return type: NXOpen.SelectIParameterizedSurfaceNew in version NX6.0.0.
License requirements: None.
FaceOfSecondEdge¶
-
DeviationChecking.FaceOfSecondEdge¶ Returns the face associated with the second edge - required for the deviation checking when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge.-------------------------------------Getter Method
Signature
FaceOfSecondEdgeReturns: Return type: NXOpen.SelectIParameterizedSurfaceNew in version NX6.0.0.
License requirements: None.
FirstCurve¶
-
DeviationChecking.FirstCurve¶ Returns the first curve or edge - required for the deviation checking when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToCurve.-------------------------------------Getter Method
Signature
FirstCurveReturns: Return type: NXOpen.SelectIBaseCurveNew in version NX6.0.0.
License requirements: None.
FirstEdge¶
-
DeviationChecking.FirstEdge¶ Returns the first edge or edge - required for the deviation checking when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdgeorNXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToFace.-------------------------------------Getter Method
Signature
FirstEdgeReturns: Return type: NXOpen.SelectIBaseCurveNew in version NX6.0.0.
License requirements: None.
FirstFace¶
-
DeviationChecking.FirstFace¶ Returns the first face - required for the deviation checking when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.FaceToFace.-------------------------------------Getter Method
Signature
FirstFaceReturns: Return type: NXOpen.SelectIParameterizedSurfaceNew in version NX6.0.0.
License requirements: None.
NumberCheckPoints¶
-
DeviationChecking.NumberCheckPoints¶ Returns or sets the number of check points to be shown for the deviation checking - required when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToCurveorNXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToFaceorNXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToFaceorNXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge.-------------------------------------Getter Method
Signature
NumberCheckPointsReturns: Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NumberCheckPointsParameters: numberCheckPoints (int) – New in version NX6.0.0.
License requirements: None.
NumberUcheckPoints¶
-
DeviationChecking.NumberUcheckPoints¶ Returns or sets the number of u check points to be shown for the deviation checking - required when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.FaceToFace-------------------------------------Getter Method
Signature
NumberUcheckPointsReturns: Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NumberUcheckPointsParameters: numberUCheckPoints (int) – New in version NX6.0.0.
License requirements: None.
NumberVcheckPoints¶
-
DeviationChecking.NumberVcheckPoints¶ Returns or sets the number of v check points to be shown for the deviation checking - required when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.FaceToFace-------------------------------------Getter Method
Signature
NumberVcheckPointsReturns: Return type: int New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
NumberVcheckPointsParameters: numberVCheckPoints (int) – New in version NX6.0.0.
License requirements: None.
SecondCurve¶
-
DeviationChecking.SecondCurve¶ Returns the second curve or edge - required for the deviation checking when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToCurve.-------------------------------------Getter Method
Signature
SecondCurveReturns: Return type: NXOpen.SelectIBaseCurveNew in version NX6.0.0.
License requirements: None.
SecondEdge¶
-
DeviationChecking.SecondEdge¶ Returns the second edge - required for the deviation checking when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge.-------------------------------------Getter Method
Signature
SecondEdgeReturns: Return type: NXOpen.SelectIBaseCurveNew in version NX6.0.0.
License requirements: None.
SecondFace¶
-
DeviationChecking.SecondFace¶ Returns the second face - required for the deviation checking when
NXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.FaceToFaceor the face - required for the deviation checking whenNXOpen.GeometricAnalysis.DeviationChecking.Type`()is set toNXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToFaceorNXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToFace.-------------------------------------Getter Method
Signature
SecondFaceReturns: Return type: NXOpen.SelectIParameterizedSurfaceNew in version NX6.0.0.
License requirements: None.
Type¶
-
DeviationChecking.Type¶ Returns or sets the deviation checking type.
Depending on the value of the deviation checking type, different inputs are required. See the documentation for each of the inputs.
-------------------------------------Getter Method
Signature
TypeReturns: Return type: NXOpen.GeometricAnalysis.DeviationCheckingTypesNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: type ( NXOpen.GeometricAnalysis.DeviationCheckingTypes) –New in version NX6.0.0.
License requirements: None.
Method Detail¶
Check¶
-
DeviationChecking.Check¶ Performs deviation checking.
Before calling this method, set property
NXOpen.GeometricAnalysis.DeviationChecking.Type`()to specify the type of deviation checking, and the two objects (curve/face/edge) to be used the deviation checking. The type of the objects required depends onNXOpen.GeometricAnalysis.DeviationChecking.Type`()set above. Also set the number check points to be displayed or u and v check points, the distance tolerance, and the angle tolerance before calling the methodNXOpen.GeometricAnalysis.DeviationChecking.Check().NXOpen.GeometricAnalysis.DeviationChecking.Check()displays the deviation as per the specification above in the graphics and lists in the information window of NX.Signature
Check()New in version NX6.0.0.
License requirements: None.
Validate¶
-
DeviationChecking.Validate¶ 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.
Signature
Validate()Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.