DraftingSurfaceFinishBuilder Class¶
-
class
NXOpen.Annotations.DraftingSurfaceFinishBuilder¶ Bases:
NXOpen.Annotations.BaseSurfaceFinishBuilderRepresents a
NXOpen.Annotations.DraftingSurfaceFinishbuilderTo create a new instance of this class, use
NXOpen.Annotations.DraftingSurfaceFinishCollection.CreateDraftingSurfaceFinishBuilder()New in version NX7.5.0.
Properties¶
| Property | Description |
|---|---|
| A1 | Returns or sets the a1 |
| A2 | Returns or sets the a2 |
| Angle | Returns or sets the angle |
| AssociatedObjects | Returns the NXOpen.Annotations.AssociatedObjectsBuilder for the annotation |
| Attribute | Returns or sets the NXOpen.Annotations.Pmi for this annotation |
| NXOpen.Annotations.DraftingSurfaceFinishBuilder.B | Returns or sets the b |
| BusinessModifier | Returns or sets the business modifier |
| NXOpen.Annotations.DraftingSurfaceFinishBuilder.C | Returns or sets the c |
| NXOpen.Annotations.DraftingSurfaceFinishBuilder.D | Returns or sets the d |
| NXOpen.Annotations.DraftingSurfaceFinishBuilder.E | Returns or sets the e |
| F1 | Returns or sets the f1 |
| F2 | Returns or sets the f2 |
| Finish | Returns or sets the finish |
| ForeshorteningSymbol | Returns the foreshortening symbol builder |
| InvertSymbol | Returns or sets the invert symbol |
| InvertText | Returns or sets the invert Text |
| KnowledgeFusionClassName | Returns or sets the knowledge fusion class name file, the default class is UG provided pmi KF class |
| Leader | Returns the NXOpen.Annotations.LeaderBuilder for the annotation |
| LowerTolerance | Returns or sets the lower tolerance applicable for all the tolerance types other than Bilateral |
| Origin | Returns the NXOpen.Annotations.OriginBuilder for the annotation |
| Parantheses | Returns or sets the parantheses. |
| Parentheses | Returns or sets the parentheses |
| SingleRoughnessValue | Returns or sets the single roughness value |
| Style | Returns the NXOpen.Annotations.StyleBuilder for the annotation |
| Tag | Returns the Tag for this object. |
| Tolerance | Returns or sets the tolerance in case of bilateral tolerance type otherwise upper tolerance |
| ToleranceType | Returns or sets the tolerance type applicable only for all the 3 cases of finish type where Material Removal Required |
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. |
| GetAttributeValues | Returns the attribute values |
| 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. |
| InheritFrom | The drafting surface finish is inherited form existing drafting surface finish. |
| SetAttributeValues | Sets the attribute values |
| 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¶
| DraftingSurfaceFinishBuilderFinishType Enumeration | the valid types of finish type |
Property Detail¶
A1¶
-
DraftingSurfaceFinishBuilder.A1¶ Returns or sets the a1
-------------------------------------Getter Method
Signature
A1Returns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
A1Parameters: a1 (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
A2¶
-
DraftingSurfaceFinishBuilder.A2¶ Returns or sets the a2
-------------------------------------Getter Method
Signature
A2Returns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
A2Parameters: a2 (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Angle¶
-
DraftingSurfaceFinishBuilder.Angle¶ Returns or sets the angle
-------------------------------------Getter Method
Signature
AngleReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AngleParameters: angle (float) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
B¶
-
DraftingSurfaceFinishBuilder.B¶ Returns or sets the b
-------------------------------------Getter Method
Signature
BReturns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BParameters: b (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
C¶
-
DraftingSurfaceFinishBuilder.C¶ Returns or sets the c
-------------------------------------Getter Method
Signature
CReturns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CParameters: c (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
D¶
-
DraftingSurfaceFinishBuilder.D¶ Returns or sets the d
-------------------------------------Getter Method
Signature
DReturns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DParameters: d (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
E¶
-
DraftingSurfaceFinishBuilder.E¶ Returns or sets the e
-------------------------------------Getter Method
Signature
EReturns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
EParameters: e (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
F1¶
-
DraftingSurfaceFinishBuilder.F1¶ Returns or sets the f1
-------------------------------------Getter Method
Signature
F1Returns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
F1Parameters: f1 (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
F2¶
-
DraftingSurfaceFinishBuilder.F2¶ Returns or sets the f2
-------------------------------------Getter Method
Signature
F2Returns: Return type: str New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
F2Parameters: f2 (str) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Finish¶
-
DraftingSurfaceFinishBuilder.Finish¶ Returns or sets the finish
-------------------------------------Getter Method
Signature
FinishReturns: Return type: NXOpen.Annotations.DraftingSurfaceFinishBuilderFinishTypeNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FinishParameters: finish ( NXOpen.Annotations.DraftingSurfaceFinishBuilderFinishType) –New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
ForeshorteningSymbol¶
-
DraftingSurfaceFinishBuilder.ForeshorteningSymbol¶ Returns the foreshortening symbol builder
-------------------------------------Getter Method
Signature
ForeshorteningSymbolReturns: Return type: NXOpen.Annotations.ForeshorteningSymbolBuilderNew in version NX10.0.0.
License requirements: None.
InvertSymbol¶
-
DraftingSurfaceFinishBuilder.InvertSymbol¶ Returns or sets the invert symbol
-------------------------------------Getter Method
Signature
InvertSymbolReturns: Return type: bool New in version NX7.5.2.
License requirements: None.
-------------------------------------Setter Method
Signature
InvertSymbolParameters: invertSymbol (bool) – New in version NX7.5.2.
License requirements: drafting (“DRAFTING”)
InvertText¶
-
DraftingSurfaceFinishBuilder.InvertText¶ Returns or sets the invert Text
-------------------------------------Getter Method
Signature
InvertTextReturns: Return type: bool New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InvertTextParameters: invertText (bool) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
LowerTolerance¶
-
DraftingSurfaceFinishBuilder.LowerTolerance¶ Returns or sets the lower tolerance applicable for all the tolerance types other than Bilateral
-------------------------------------Getter Method
Signature
LowerToleranceReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LowerToleranceParameters: lowerTolerance (float) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Parantheses¶
-
DraftingSurfaceFinishBuilder.Parantheses¶ Returns or sets the parantheses.
This method is deprecated.
-------------------------------------Getter Method
Signature
ParanthesesReturns: Return type: NXOpen.Annotations.BaseSurfaceFinishBuilderParanthesesTypeNew in version NX7.5.0.
Deprecated since version NX8.0.0: Use
NXOpen.Annotations.DraftingSurfaceFinishBuilder.Parentheses`()instead.License requirements: None.
-------------------------------------Setter Method
Signature
ParanthesesParameters: paranthesesType ( NXOpen.Annotations.BaseSurfaceFinishBuilderParanthesesType) –New in version NX7.5.0.
Deprecated since version NX8.0.0: Use
NXOpen.Annotations.DraftingSurfaceFinishBuilder.Parentheses`()instead.License requirements: drafting (“DRAFTING”)
Parentheses¶
-
DraftingSurfaceFinishBuilder.Parentheses¶ Returns or sets the parentheses
-------------------------------------Getter Method
Signature
ParenthesesReturns: Return type: NXOpen.Annotations.BaseSurfaceFinishBuilderParenthesesTypeNew in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ParenthesesParameters: parenthesesType ( NXOpen.Annotations.BaseSurfaceFinishBuilderParenthesesType) –New in version NX8.0.0.
License requirements: drafting (“DRAFTING”)
SingleRoughnessValue¶
-
DraftingSurfaceFinishBuilder.SingleRoughnessValue¶ Returns or sets the single roughness value
-------------------------------------Getter Method
Signature
SingleRoughnessValueReturns: Return type: bool New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SingleRoughnessValueParameters: singleRoughnessValue (bool) – New in version NX8.0.0.
License requirements: drafting (“DRAFTING”)
Tolerance¶
-
DraftingSurfaceFinishBuilder.Tolerance¶ Returns or sets the tolerance in case of bilateral tolerance type otherwise upper tolerance
-------------------------------------Getter Method
Signature
ToleranceReturns: Return type: float New in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceParameters: tolerance (float) – New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
ToleranceType¶
-
DraftingSurfaceFinishBuilder.ToleranceType¶ Returns or sets the tolerance type applicable only for all the 3 cases of finish type where Material Removal Required
-------------------------------------Getter Method
Signature
ToleranceTypeReturns: Return type: NXOpen.Annotations.BaseSurfaceFinishBuilderToleranceOptionNew in version NX7.5.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToleranceTypeParameters: toleranceType ( NXOpen.Annotations.BaseSurfaceFinishBuilderToleranceOption) –New in version NX7.5.0.
License requirements: drafting (“DRAFTING”)
Method Detail¶
InheritFrom¶
-
DraftingSurfaceFinishBuilder.InheritFrom¶ The drafting surface finish is inherited form existing drafting surface finish.
Signature
InheritFrom(inheritTag)Parameters: inheritTag ( NXOpen.Annotations.BaseSurfaceFinish) –New in version NX8.5.0.
License requirements: None.
Validate¶
-
DraftingSurfaceFinishBuilder.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.