SectionLineBuilder Class

class NXOpen.Drawings.SectionLineBuilder

Bases: NXOpen.Builder

Represents a NXOpen.Drawings.SectionLineBuilder.

This class is used to create or edit a NXOpen.Drawings.SectionLine. To create a new instance of this class, use NXOpen.Drawings.SectionLineCollection.CreateSectionLineBuilder()

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use NXOpen.Drawings.SectionViewBuilder.SectionLineType()

Properties

Property Description
ArrowDirection Returns or sets the arrow direction.
CutDirection Returns or sets the cut direction.
Half Returns the half section line data.
HalfPictorial Returns the half pictorial section line data.
HingeDirection Returns or sets the hinge direction.
Oriented Returns the simple 3D section line data.
ParentView Returns the parent view.
Pictorial Returns the pictorial section line data.
PointAndAngle Returns the point and angle section line data.
PointToPoint Returns the point to point section line data.
Revolved Returns the revolved section line data.
SimpleOrStepped Returns the simple or stepped section line data.
Style Returns the style.
Tag Returns the Tag for this object.
Type Returns or sets the section line type

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
Destroy Deletes the builder, and cleans up any objects created by the builder.
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetObject Returns the object currently being edited by this builder.
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

SectionLineBuilderTypes Enumeration Section Line type

Property Detail

ArrowDirection

SectionLineBuilder.ArrowDirection

Returns or sets the arrow direction.

The arrow direction defines the direction of the section line arrows and must be perpendicular to the cut direction.

The arrow direction is only used for NXOpen.Drawings.SectionLineBuilderTypes.Pictorial , NXOpen.Drawings.SectionLineBuilderTypes.HalfPictorial and NXOpen.Drawings.SectionLineBuilderTypes.Oriented section lines

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

Getter Method

Signature ArrowDirection()

Returns:
Return type:NXOpen.Direction

New in version NX6.0.0.

Deprecated since version NX10.0.0: This API is not supported yet and should not be used.

License requirements: None.

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

Setter Method

Signature ArrowDirection(arrowDirection)

Parameters:arrowDirection (NXOpen.Direction) –

New in version NX6.0.0.

Deprecated since version NX10.0.0: This API is not supported yet and should not be used.

License requirements: drafting (“DRAFTING”)

CutDirection

SectionLineBuilder.CutDirection

Returns or sets the cut direction.

The cut direction is a vector that specifies the direction of the cutting plane. A vector arrow displays showing the direction of the vector.

The cut direction is only used for NXOpen.Drawings.SectionLineBuilderTypes.Pictorial , NXOpen.Drawings.SectionLineBuilderTypes.HalfPictorial and NXOpen.Drawings.SectionLineBuilderTypes.Oriented section lines

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

Getter Method

Signature CutDirection()

Returns:
Return type:NXOpen.Direction

New in version NX6.0.0.

Deprecated since version NX10.0.0: This API is not supported yet and should not be used.

License requirements: None.

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

Setter Method

Signature CutDirection(cutDirection)

Parameters:cutDirection (NXOpen.Direction) –

New in version NX6.0.0.

Deprecated since version NX10.0.0: This API is not supported yet and should not be used.

License requirements: drafting (“DRAFTING”)

Half

SectionLineBuilder.Half

Returns the half section line data.

Use the half section line data when the type is set to NXOpen.Drawings.SectionLineBuilderTypes.Half

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

Getter Method

Signature Half()

Returns:
Return type:NXOpen.Drawings.HalfSectionLineBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionViewBuilder.SectionViewType()

License requirements: None.

HalfPictorial

SectionLineBuilder.HalfPictorial

Returns the half pictorial section line data.

Use the half pictorial section line data when the type is set to NXOpen.Drawings.SectionLineBuilderTypes.HalfPictorial

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

Getter Method

Signature HalfPictorial()

Returns:
Return type:NXOpen.Drawings.HalfSectionLineBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: This API is not supported yet and should not be used.

License requirements: None.

HingeDirection

SectionLineBuilder.HingeDirection

Returns or sets the hinge direction.

The hinge direction is only used for NXOpen.Drawings.SectionLineBuilderTypes.SimpleOrStepped , NXOpen.Drawings.SectionLineBuilderTypes.Half , NXOpen.Drawings.SectionLineBuilderTypes.Revolved , NXOpen.Drawings.SectionLineBuilderTypes.PointToPoint , and NXOpen.Drawings.SectionLineBuilderTypes.PointAndAngle section lines

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

Getter Method

Signature HingeDirection()

Returns:
Return type:NXOpen.Direction

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.ViewStyleOrientationBuilder.HingeLine()

License requirements: None.

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

Setter Method

Signature HingeDirection(hingeDirection)

Parameters:hingeDirection (NXOpen.Direction) –

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.ViewStyleOrientationBuilder.HingeLine()

License requirements: drafting (“DRAFTING”)

Oriented

SectionLineBuilder.Oriented

Returns the simple 3D section line data.

Use the simple 3D section line data when the type is set to NXOpen.Drawings.SectionLineBuilderTypes.Oriented

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

Getter Method

Signature Oriented()

Returns:
Return type:NXOpen.Drawings.OrientedSectionLineBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: This API is not supported yet and should not be used.

License requirements: None.

ParentView

SectionLineBuilder.ParentView

Returns the parent view.

The view that the section line will cut.

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

Getter Method

Signature ParentView()

Returns:
Return type:NXOpen.Drawings.ParentViewBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionViewBuilder.ParentView()

License requirements: None.

Pictorial

SectionLineBuilder.Pictorial

Returns the pictorial section line data.

Use the pictorial section line data when the type is set to NXOpen.Drawings.SectionLineBuilderTypes.Pictorial

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

Getter Method

Signature Pictorial()

Returns:
Return type:NXOpen.Drawings.SteppedSectionLineBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: This API is not supported yet and should not be used.

License requirements: None.

PointAndAngle

SectionLineBuilder.PointAndAngle

Returns the point and angle section line data.

Use the point and angle section line data when the type is set to NXOpen.Drawings.SectionLineBuilderTypes.PointAndAngle

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

Getter Method

Signature PointAndAngle()

Returns:
Return type:NXOpen.Drawings.PointAndAngleSectionLineBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: This API is not supported yet and should not be used.

License requirements: None.

PointToPoint

SectionLineBuilder.PointToPoint

Returns the point to point section line data.

Use the point to point section line data when the type is set to NXOpen.Drawings.SectionLineBuilderTypes.PointToPoint

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

Getter Method

Signature PointToPoint()

Returns:
Return type:NXOpen.Drawings.PointToPointSectionLineBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionViewBuilder.SectionViewType()

License requirements: None.

Revolved

SectionLineBuilder.Revolved

Returns the revolved section line data.

Use the revolved section line data when the type is set to NXOpen.Drawings.SectionLineBuilderTypes.Revolved

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

Getter Method

Signature Revolved()

Returns:
Return type:NXOpen.Drawings.RevolvedSectionLineBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionViewBuilder.SectionViewType()

License requirements: None.

SimpleOrStepped

SectionLineBuilder.SimpleOrStepped

Returns the simple or stepped section line data.

Use the simple or stepped section line data when the type is set to NXOpen.Drawings.SectionLineBuilderTypes.SimpleOrStepped

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

Getter Method

Signature SimpleOrStepped()

Returns:
Return type:NXOpen.Drawings.SteppedSectionLineBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionViewBuilder.SectionViewType()

License requirements: None.

Style

SectionLineBuilder.Style

Returns the style.

The preferences of a section line.

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

Getter Method

Signature Style()

Returns:
Return type:NXOpen.Drawings.SectionLineStyleBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionViewBuilder.ViewStyle()

License requirements: None.

Type

SectionLineBuilder.Type

Returns or sets the section line type

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

Getter Method

Signature Type()

Returns:
Return type:NXOpen.Drawings.SectionLineBuilderTypes

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionViewBuilder.SectionViewType()

License requirements: None.

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

Setter Method

Signature Type(type)

Parameters:type (NXOpen.Drawings.SectionLineBuilderTypes) –

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionViewBuilder.SectionViewType()

License requirements: drafting (“DRAFTING”)

Method Detail

Validate

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