SimpleDraft Class¶
-
class
NXOpen.GeometricUtilities.
SimpleDraft
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents an Offset .
New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
DraftAngle | Returns the draft angle |
DraftType | Returns or sets the simple draft type |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
SetDraftAngle | Sets the draft angle |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
SimpleDraftSimpleDraftType Enumeration | This enum represents the kind of simple_draft |
Property Detail¶
DraftAngle¶
-
SimpleDraft.
DraftAngle
¶ Returns the draft angle
-------------------------------------
Getter Method
Signature
DraftAngle()
Returns: Return type: NXOpen.Expression
New in version NX4.0.0.
License requirements: None.
DraftType¶
-
SimpleDraft.
DraftType
¶ Returns or sets the simple draft type
-------------------------------------
Getter Method
Signature
DraftType()
Returns: Return type: NXOpen.GeometricUtilities.SimpleDraftSimpleDraftType
New in version NX4.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DraftType(type)
Parameters: type ( NXOpen.GeometricUtilities.SimpleDraftSimpleDraftType
) –New in version NX4.0.0.
License requirements: solid_modeling (“SOLIDS MODELING”)
Method Detail¶
SetDraftAngle¶
-
SimpleDraft.
SetDraftAngle
¶ Sets the draft angle
Signature
SetDraftAngle(draftAngle)
Parameters: draftAngle (str) – Draft angle NOTE: The full Unicode character set is not supported for this parameter. New in version NX4.0.0.
Deprecated since version NX5.0.0: To set the value of the expression modify the expression directly using
GeometricUtilities.SimpleDraft.DraftAngle
andExpression.RightHandSide
.License requirements: solid_modeling (“SOLIDS MODELING”)
Validate¶
-
SimpleDraft.
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.