OvtBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# OvtBuilder Class

class `NXOpen.Drawings.``OvtBuilder`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  Represents a `NXOpen.Drawings.OvtBuilder`

  New 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 `AssociativeOrientation`

  Returns: |
  Return type: | bool

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

  `-------------------------------------`

  Setter Method

  Signature `AssociativeOrientation`

  Parameters: | 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 `NormalDirection`

  Returns: |
  Return type: | `NXOpen.Direction`

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

  `-------------------------------------`

  Setter Method

  Signature `NormalDirection`

  Parameters: | 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 `XDirection`

  Returns: |
  Return type: | `NXOpen.Direction`

  New in version NX6.0.0.

  License requirements: drafting (“DRAFTING”)

  `-------------------------------------`

  Setter Method

  Signature `XDirection`

  Parameters: | 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.