DeviationChecking Class

class NXOpen.GeometricAnalysis.DeviationChecking

Bases: NXOpen.Builder

Represents a NXOpen.GeometricAnalysis.DeviationChecking

To 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 AngleTolerance

Returns:
Return type:float

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature AngleTolerance

Parameters: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 to NXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToFace.

-------------------------------------

Getter Method

Signature Curve

Returns:
Return type:NXOpen.SelectIBaseCurve

New 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 DeviationOption

Returns:
Return type:NXOpen.GeometricAnalysis.DeviationCheckingDeviationOptions

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature DeviationOption

Parameters: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 DistanceTolerance

Returns:
Return type:float

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature DistanceTolerance

Parameters: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 to NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge or NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToFace.

-------------------------------------

Getter Method

Signature FaceOfFirstEdge

Returns:
Return type:NXOpen.SelectIParameterizedSurface

New 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 to NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge.

-------------------------------------

Getter Method

Signature FaceOfSecondEdge

Returns:
Return type:NXOpen.SelectIParameterizedSurface

New 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 to NXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToCurve.

-------------------------------------

Getter Method

Signature FirstCurve

Returns:
Return type:NXOpen.SelectIBaseCurve

New 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 to NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge or NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToFace.

-------------------------------------

Getter Method

Signature FirstEdge

Returns:
Return type:NXOpen.SelectIBaseCurve

New 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 to NXOpen.GeometricAnalysis.DeviationCheckingTypes.FaceToFace.

-------------------------------------

Getter Method

Signature FirstFace

Returns:
Return type:NXOpen.SelectIParameterizedSurface

New 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 to NXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToCurve or NXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToFace or NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToFace or NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge.

-------------------------------------

Getter Method

Signature NumberCheckPoints

Returns:
Return type:int

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature NumberCheckPoints

Parameters: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 to NXOpen.GeometricAnalysis.DeviationCheckingTypes.FaceToFace

-------------------------------------

Getter Method

Signature NumberUcheckPoints

Returns:
Return type:int

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature NumberUcheckPoints

Parameters: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 to NXOpen.GeometricAnalysis.DeviationCheckingTypes.FaceToFace

-------------------------------------

Getter Method

Signature NumberVcheckPoints

Returns:
Return type:int

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature NumberVcheckPoints

Parameters: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 to NXOpen.GeometricAnalysis.DeviationCheckingTypes.CurveToCurve.

-------------------------------------

Getter Method

Signature SecondCurve

Returns:
Return type:NXOpen.SelectIBaseCurve

New 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 to NXOpen.GeometricAnalysis.DeviationCheckingTypes.EdgeToEdge.

-------------------------------------

Getter Method

Signature SecondEdge

Returns:
Return type:NXOpen.SelectIBaseCurve

New 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 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.

-------------------------------------

Getter Method

Signature SecondFace

Returns:
Return type:NXOpen.SelectIParameterizedSurface

New 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 Type

Returns:
Return type:NXOpen.GeometricAnalysis.DeviationCheckingTypes

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature Type

Parameters: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 on NXOpen.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 method NXOpen.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.