ViewStylePerspectiveBuilder Class

class NXOpen.Drawings.ViewStylePerspectiveBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents the PERSPECTIVE tab on the View Style Dialog (Drawings.

ViewStylePerspectiveBuilder)

New in version NX6.0.0.

Properties

Property Description
BackClip Returns or sets the back clip toggle on the PERSPECTIVE tab of the View Style Dialog
BackClipDistance Returns or sets the back clip distance data on the PERSPECTIVE tab of the View Style Dialog
FrontClip Returns or sets the front clip toggle on the PERSPECTIVE tab of the View Style Dialog
FrontClipDistance Returns or sets the front clip distance data on the PERSPECTIVE tab of the View Style Dialog
Perspective Returns or sets the perspective toggle on the PERSPECTIVE tab of the View Style Dialog
PerspectiveDistance Returns or sets the perspective distance data on the PERSPECTIVE tab of the View Style Dialog
Tag Returns the Tag for this object.
ViewOrigin Returns or sets the perspective view origin on the PERSPECTIVE tab of the View Style Dialog

Methods

Method Description
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Property Detail

BackClip

ViewStylePerspectiveBuilder.BackClip

Returns or sets the back clip toggle on the PERSPECTIVE tab of the View Style Dialog

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

Getter Method

Signature BackClip

Returns:Returns the back clip toggle value that is on the perspective sub-builder
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature BackClip

Parameters:backClipToggle (bool) – Sets a new back clip toggle value on the perspective sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

BackClipDistance

ViewStylePerspectiveBuilder.BackClipDistance

Returns or sets the back clip distance data on the PERSPECTIVE tab of the View Style Dialog

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

Getter Method

Signature BackClipDistance

Returns:Returns the back clip distance that is on the perspective sub-builder
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature BackClipDistance

Parameters:backClipDistanceData (float) – Sets a new back clip distance on the perspective sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

FrontClip

ViewStylePerspectiveBuilder.FrontClip

Returns or sets the front clip toggle on the PERSPECTIVE tab of the View Style Dialog

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

Getter Method

Signature FrontClip

Returns:Returns the front clip toggle value that is on the perspective sub-builder
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature FrontClip

Parameters:frontClipToggle (bool) – Sets a new front clip toggle value on the perspective sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

FrontClipDistance

ViewStylePerspectiveBuilder.FrontClipDistance

Returns or sets the front clip distance data on the PERSPECTIVE tab of the View Style Dialog

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

Getter Method

Signature FrontClipDistance

Returns:Returns the front clip distance that is on the perspective sub-builder
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature FrontClipDistance

Parameters:frontClipDistanceData (float) – Sets a new front clip distance on the perspective sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

Perspective

ViewStylePerspectiveBuilder.Perspective

Returns or sets the perspective toggle on the PERSPECTIVE tab of the View Style Dialog

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

Getter Method

Signature Perspective

Returns:Returns the perspective toggle value that is on the perspective sub-builder
Return type:bool

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature Perspective

Parameters:perspectiveToggle (bool) – Sets a new perspective toggle value on the perspective sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

PerspectiveDistance

ViewStylePerspectiveBuilder.PerspectiveDistance

Returns or sets the perspective distance data on the PERSPECTIVE tab of the View Style Dialog

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

Getter Method

Signature PerspectiveDistance

Returns:Returns the perspective distance that is on the perspective sub-builder
Return type:float

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature PerspectiveDistance

Parameters:perspectiveDistanceData (float) – Sets a new perspective distance on the perspective sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

ViewOrigin

ViewStylePerspectiveBuilder.ViewOrigin

Returns or sets the perspective view origin on the PERSPECTIVE tab of the View Style Dialog

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

Getter Method

Signature ViewOrigin

Returns:Returns the view origin that is on the perspective sub-builder
Return type:NXOpen.Point3d

New in version NX6.0.0.

License requirements: None.

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

Setter Method

Signature ViewOrigin

Parameters:viewOrigin (NXOpen.Point3d) – Sets a new view origin on the perspective sub-builder

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

Method Detail

Validate

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