SvtBuilder Class

class NXOpen.Drawings.SvtBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a NXOpen.Drawings.SvtBuilder

New in version NX6.0.0.

Properties

Property Description
BackgroundFaces Returns the background faces that are to be shown in the section view.
NormalDirection Returns or sets the vector that represents the normal direction for the view to be created or edited.
Orientation Returns or sets the orientation flag that indicates whether or not the Section View Tool view should be used to orient the section view when it is placed
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

BackgroundFaces

SvtBuilder.BackgroundFaces

Returns the background faces that are to be shown in the section view.

When none are selected, all faces will be shown

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

Getter Method

Signature BackgroundFaces

Returns:
Return type:NXOpen.SelectFaceList

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

NormalDirection

SvtBuilder.NormalDirection

Returns or sets the vector that represents the normal direction for the view to be created or edited.

The vector is used only if the Orientation flag is on. The purpose of the direction vectors is make a simple, simulated pictorial view. Consequently it is expected that a desireable orientation will need to be found interactive using the tool, and that specification by vectors will be of marginal use. The ability to specifiy the orientation is being included only for completeness.

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

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”)

Orientation

SvtBuilder.Orientation

Returns or sets the orientation flag that indicates whether or not the Section View Tool view should be used to orient the section view when it is placed

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

Getter Method

Signature Orientation

Returns:
Return type:bool

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

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

Setter Method

Signature Orientation

Parameters:orientation (bool) –

New in version NX6.0.0.

License requirements: drafting (“DRAFTING”)

XDirection

SvtBuilder.XDirection

Returns or sets the x direction vector for the view to be created or edited.

The vector is used only if the Orientation flag is on. The purpose of the direction vectors is make a simple, simulated pictorial view. Consequently it is expected that a desireable orientation will need to be found interactive using the tool, and that specification by vectors will be of marginal use. The ability to specifiy the orientation is being included only for completeness.

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

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

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