SketchAutoConstrainBuilder Class¶
-
class
NXOpen.
SketchAutoConstrainBuilder
¶ Bases:
NXOpen.Builder
Represents a
NXOpen.SketchAutoConstrainBuilder
To create a new instance of this class, use
NXOpen.SketchCollection.CreateAutoConstrainBuilder()
Default values.
Property Value Horizontal True Parallel True Perpendicular True Tangent True Vertical True New in version NX5.0.0.
Properties¶
Property | Description |
---|---|
AngleTolerance | Returns or sets the angle tolerance |
ApplyRemoteConstraints | Returns or sets the apply remote constraints |
Coincident | Returns or sets the coincident |
Collinear | Returns or sets the collinear |
Concentric | Returns or sets the concentric |
CurveList | Returns the selected curve list. |
DistanceTolerance | Returns or sets the distance tolerance |
EqualLength | Returns or sets the equal length |
EqualRadius | Returns or sets the equal radius |
Horizontal | Returns or sets the horizontal |
Parallel | Returns or sets the parallel |
Perpendicular | Returns or sets the perpendicular |
PointOnCurve | Returns or sets the point on curve |
Tag | Returns the Tag for this object. |
Tangent | Returns or sets the tangent |
Vertical | Returns or sets the vertical |
Methods¶
Method | Description |
---|---|
ClearAllConstraints | Clear all of the indivivual constraints (turn toggle to off for each one) |
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. |
SetAllConstraints | Set all of the individual constraints (turn toggle to on for each one) |
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. |
Property Detail¶
AngleTolerance¶
-
SketchAutoConstrainBuilder.
AngleTolerance
¶ Returns or sets the angle tolerance
-------------------------------------
Getter Method
Signature
AngleTolerance
Returns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AngleTolerance
Parameters: angleTolerance (float) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
ApplyRemoteConstraints¶
-
SketchAutoConstrainBuilder.
ApplyRemoteConstraints
¶ Returns or sets the apply remote constraints
-------------------------------------
Getter Method
Signature
ApplyRemoteConstraints
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ApplyRemoteConstraints
Parameters: applyRemoteConstraints (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Coincident¶
-
SketchAutoConstrainBuilder.
Coincident
¶ Returns or sets the coincident
-------------------------------------
Getter Method
Signature
Coincident
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Coincident
Parameters: coincident (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Collinear¶
-
SketchAutoConstrainBuilder.
Collinear
¶ Returns or sets the collinear
-------------------------------------
Getter Method
Signature
Collinear
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Collinear
Parameters: collinear (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Concentric¶
-
SketchAutoConstrainBuilder.
Concentric
¶ Returns or sets the concentric
-------------------------------------
Getter Method
Signature
Concentric
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Concentric
Parameters: concentric (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
CurveList¶
-
SketchAutoConstrainBuilder.
CurveList
¶ Returns the selected curve list.
-------------------------------------
Getter Method
Signature
CurveList
Returns: Return type: NXOpen.SelectObjectList
New in version NX5.0.0.
License requirements: None.
DistanceTolerance¶
-
SketchAutoConstrainBuilder.
DistanceTolerance
¶ Returns or sets the distance tolerance
-------------------------------------
Getter Method
Signature
DistanceTolerance
Returns: Return type: float New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DistanceTolerance
Parameters: distanceTolerance (float) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
EqualLength¶
-
SketchAutoConstrainBuilder.
EqualLength
¶ Returns or sets the equal length
-------------------------------------
Getter Method
Signature
EqualLength
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EqualLength
Parameters: equalLength (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
EqualRadius¶
-
SketchAutoConstrainBuilder.
EqualRadius
¶ Returns or sets the equal radius
-------------------------------------
Getter Method
Signature
EqualRadius
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
EqualRadius
Parameters: equalRadius (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Horizontal¶
-
SketchAutoConstrainBuilder.
Horizontal
¶ Returns or sets the horizontal
-------------------------------------
Getter Method
Signature
Horizontal
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Horizontal
Parameters: horizontal (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Parallel¶
-
SketchAutoConstrainBuilder.
Parallel
¶ Returns or sets the parallel
-------------------------------------
Getter Method
Signature
Parallel
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Parallel
Parameters: parallel (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Perpendicular¶
-
SketchAutoConstrainBuilder.
Perpendicular
¶ Returns or sets the perpendicular
-------------------------------------
Getter Method
Signature
Perpendicular
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Perpendicular
Parameters: perpendicular (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
PointOnCurve¶
-
SketchAutoConstrainBuilder.
PointOnCurve
¶ Returns or sets the point on curve
-------------------------------------
Getter Method
Signature
PointOnCurve
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
PointOnCurve
Parameters: pointOnCurve (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Tangent¶
-
SketchAutoConstrainBuilder.
Tangent
¶ Returns or sets the tangent
-------------------------------------
Getter Method
Signature
Tangent
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Tangent
Parameters: tangent (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Vertical¶
-
SketchAutoConstrainBuilder.
Vertical
¶ Returns or sets the vertical
-------------------------------------
Getter Method
Signature
Vertical
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Vertical
Parameters: vertical (bool) – New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
ClearAllConstraints¶
-
SketchAutoConstrainBuilder.
ClearAllConstraints
¶ Clear all of the indivivual constraints (turn toggle to off for each one)
Signature
ClearAllConstraints()
New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
SetAllConstraints¶
-
SketchAutoConstrainBuilder.
SetAllConstraints
¶ Set all of the individual constraints (turn toggle to on for each one)
Signature
SetAllConstraints()
New in version NX5.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Validate¶
-
SketchAutoConstrainBuilder.
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.