DatumReferenceBuilder Class¶
-
class
NXOpen.Annotations.DatumReferenceBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents a
NXOpen.Annotations.DatumReferenceBuilderTo create a new instance of this class, use
NXOpen.Annotations.AnnotationManager.CreateEmptyDatumReferenceBuilder()New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| FreeState | Returns or sets the datum reference free state |
| Letter | Returns or sets the datum reference datum letter |
| MaterialCondition | Returns or sets the datum reference material condition |
| Projected | Returns or sets the datum reference projected |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
| DatumReferenceBuilderDatumReferenceMaterialCondition Enumeration | Specifies the material modifier condition for the datum reference |
Property Detail¶
FreeState¶
-
DatumReferenceBuilder.FreeState¶ Returns or sets the datum reference free state
-------------------------------------Getter Method
Signature
FreeStateReturns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FreeStateParameters: datumReferenceFreeState (bool) – New in version NX6.0.0.
License requirements: drafting (“DRAFTING”) OR geometric_tol (“GDT”)
Letter¶
-
DatumReferenceBuilder.Letter¶ Returns or sets the datum reference datum letter
-------------------------------------Getter Method
Signature
LetterReturns: Return type: str New in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LetterParameters: datumReferenceDatum (str) – New in version NX6.0.0.
License requirements: drafting (“DRAFTING”) OR geometric_tol (“GDT”)
MaterialCondition¶
-
DatumReferenceBuilder.MaterialCondition¶ Returns or sets the datum reference material condition
-------------------------------------Getter Method
Signature
MaterialConditionReturns: Return type: NXOpen.Annotations.DatumReferenceBuilderDatumReferenceMaterialConditionNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaterialConditionParameters: materialCondition ( NXOpen.Annotations.DatumReferenceBuilderDatumReferenceMaterialCondition) –New in version NX6.0.0.
License requirements: drafting (“DRAFTING”) OR geometric_tol (“GDT”)
Projected¶
-
DatumReferenceBuilder.Projected¶ Returns or sets the datum reference projected
-------------------------------------Getter Method
Signature
ProjectedReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ProjectedParameters: datumReferenceProjected (bool) – New in version NX10.0.0.
License requirements: drafting (“DRAFTING”) OR geometric_tol (“GDT”)
Method Detail¶
Validate¶
-
DatumReferenceBuilder.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.