ViewOrientationBuilder Class

class NXOpen.Drawings.ViewOrientationBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a ViewOrientationBuilder.

The View Orientation Block is used to specify orientation of the view, and the view being inherited or sectioned, if needed.

New in version NX6.0.0.

Properties

Property Description
OrientationType Returns or sets the orientation type
SelectView Returns the select view
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

ViewOrientationBuilderOrientation Enumeration This enum represents view orientation type.

Property Detail

OrientationType

ViewOrientationBuilder.OrientationType

Returns or sets the orientation type

-------------------------------------

Getter Method

Signature OrientationType

Returns:
Return type:NXOpen.Drawings.ViewOrientationBuilderOrientation

New in version NX6.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature OrientationType

Parameters:orientationType (NXOpen.Drawings.ViewOrientationBuilderOrientation) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

SelectView

ViewOrientationBuilder.SelectView

Returns the select view

-------------------------------------

Getter Method

Signature SelectView

Returns:
Return type:NXOpen.SelectView

New in version NX6.0.0.

License requirements: None.

Method Detail

Validate

ViewOrientationBuilder.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.