OvtBuilder Class¶
-
class
NXOpen.Drawings.OvtBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents a
NXOpen.Drawings.OvtBuilderNew in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| AssociativeOrientation | Returns or sets the associative orientation that specifies whether or not the view will be associative to the specified plane and/or X direction |
| NormalDirection | Returns or sets the vector that represents the normal direction for the view to be created or edited |
| Tag | Returns the Tag for this object. |
| XDirection | Returns or sets the x direction vector for the view to be created or edited |
Methods¶
| Method | Description |
|---|---|
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
AssociativeOrientation¶
-
OvtBuilder.AssociativeOrientation¶ Returns or sets the associative orientation that specifies whether or not the view will be associative to the specified plane and/or X direction
-------------------------------------Getter Method
Signature
AssociativeOrientationReturns: Return type: bool New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
-------------------------------------Setter Method
Signature
AssociativeOrientationParameters: associativeOrientation (bool) – New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
NormalDirection¶
-
OvtBuilder.NormalDirection¶ Returns or sets the vector that represents the normal direction for the view to be created or edited
-------------------------------------Getter Method
Signature
NormalDirectionReturns: Return type: NXOpen.DirectionNew in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
-------------------------------------Setter Method
Signature
NormalDirectionParameters: normalDirection ( NXOpen.Direction) –New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
XDirection¶
-
OvtBuilder.XDirection¶ Returns or sets the x direction vector for the view to be created or edited
-------------------------------------Getter Method
Signature
XDirectionReturns: Return type: NXOpen.DirectionNew in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
-------------------------------------Setter Method
Signature
XDirectionParameters: xDirection ( NXOpen.Direction) –New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
Method Detail¶
Validate¶
-
OvtBuilder.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.