SketchChamferBuilder Class¶
-
class
NXOpen.
SketchChamferBuilder
¶ Bases:
NXOpen.Builder
Represents a Chamfer builder
To create a new instance of this class, use
NXOpen.SketchCollection.CreateSketchChamferBuilder()
Default values.
Property Value Angle.Value 45 ChamferOption Symmetric Distance1.Value 2 (millimeters part), .0625 (inches part) Distance2.Value 2 (millimeters part), .0625 (inches part) TrimInputCurves 1 New in version NX7.5.0.
Properties¶
Property | Description |
---|---|
Angle | Returns the angle for Offset and Angle Chamfer |
ChamferOption | Returns or sets the chamfer options that specify what type of chamfer is to be created |
CreateAngleDimension | Returns or sets the flag to indicate whether to create a dimension for SketchChamferBuilder.Angle() |
CreateDistance1Dimension | Returns or sets the flag to indicate whether to create a dimension for SketchChamferBuilder.Distance1() |
CreateDistance2Dimension | Returns or sets the flag to indicate whether to create a dimension for SketchChamferBuilder.Distance2() |
CurvesToChamfer | Returns the two lines for which a chamfer is to be created |
Distance1 | Returns the distance for line 1 for Symmetric, Asymmetric, and for OffSet and Angle Chamfer |
Distance2 | Returns the distance for line 2 for Asymmetric Chamfer |
HelpPoint | Returns or sets the coordinates of the help point for Chamfer creation |
Tag | Returns the Tag for this object. |
TrimInputCurves | Returns or sets the toggle that specifies whether the two selected lines are to be trimmed |
Methods¶
Method | Description |
---|---|
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¶
SketchChamferBuilderChamferOptions Enumeration | Dialog options for Chamfer Creation |
Property Detail¶
Angle¶
-
SketchChamferBuilder.
Angle
¶ Returns the angle for Offset and Angle Chamfer
-------------------------------------
Getter Method
Signature
Angle
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
ChamferOption¶
-
SketchChamferBuilder.
ChamferOption
¶ Returns or sets the chamfer options that specify what type of chamfer is to be created
-------------------------------------
Getter Method
Signature
ChamferOption
Returns: Return type: NXOpen.SketchChamferBuilderChamferOptions
New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
-------------------------------------
Setter Method
Signature
ChamferOption
Parameters: chamferOption ( NXOpen.SketchChamferBuilderChamferOptions
) –New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
CreateAngleDimension¶
-
SketchChamferBuilder.
CreateAngleDimension
¶ Returns or sets the flag to indicate whether to create a dimension for
SketchChamferBuilder.Angle()
-------------------------------------
Getter Method
Signature
CreateAngleDimension
Returns: Return type: bool New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
-------------------------------------
Setter Method
Signature
CreateAngleDimension
Parameters: createAngleDimension (bool) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
CreateDistance1Dimension¶
-
SketchChamferBuilder.
CreateDistance1Dimension
¶ Returns or sets the flag to indicate whether to create a dimension for
SketchChamferBuilder.Distance1()
-------------------------------------
Getter Method
Signature
CreateDistance1Dimension
Returns: Return type: bool New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
-------------------------------------
Setter Method
Signature
CreateDistance1Dimension
Parameters: createDistance1Dimension (bool) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
CreateDistance2Dimension¶
-
SketchChamferBuilder.
CreateDistance2Dimension
¶ Returns or sets the flag to indicate whether to create a dimension for
SketchChamferBuilder.Distance2()
-------------------------------------
Getter Method
Signature
CreateDistance2Dimension
Returns: Return type: bool New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
-------------------------------------
Setter Method
Signature
CreateDistance2Dimension
Parameters: createDistance2Dimension (bool) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
CurvesToChamfer¶
-
SketchChamferBuilder.
CurvesToChamfer
¶ Returns the two lines for which a chamfer is to be created
-------------------------------------
Getter Method
Signature
CurvesToChamfer
Returns: Return type: NXOpen.SelectDisplayableObjectList
New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
Distance1¶
-
SketchChamferBuilder.
Distance1
¶ Returns the distance for line 1 for Symmetric, Asymmetric, and for OffSet and Angle Chamfer
-------------------------------------
Getter Method
Signature
Distance1
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
Distance2¶
-
SketchChamferBuilder.
Distance2
¶ Returns the distance for line 2 for Asymmetric Chamfer
-------------------------------------
Getter Method
Signature
Distance2
Returns: Return type: NXOpen.Expression
New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
HelpPoint¶
-
SketchChamferBuilder.
HelpPoint
¶ Returns or sets the coordinates of the help point for Chamfer creation
-------------------------------------
Getter Method
Signature
HelpPoint
Returns: the tag of the help point Return type: NXOpen.Point
New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
-------------------------------------
Setter Method
Signature
HelpPoint
Parameters: helpPoint ( NXOpen.Point
) –New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
TrimInputCurves¶
-
SketchChamferBuilder.
TrimInputCurves
¶ Returns or sets the toggle that specifies whether the two selected lines are to be trimmed
-------------------------------------
Getter Method
Signature
TrimInputCurves
Returns: Return type: bool New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
-------------------------------------
Setter Method
Signature
TrimInputCurves
Parameters: trimInputCurves (bool) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”) OR solid_modeling (“SOLIDS MODELING”) OR geometric_tol (“GDT”)
Method Detail¶
Validate¶
-
SketchChamferBuilder.
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.