SectionViewBuilder Class

class NXOpen.Drawings.SectionViewBuilder

Bases: NXOpen.Builder

Represents a NXOpen.Drawings.SectionView builder

To create a new instance of this class, use NXOpen.Drawings.DraftingViewCollection.CreateSectionViewBuilder()

Default values.

Property Value
CreateFolded 1
SecondaryComponents.ObjectType PrimaryGeometry
SectionViewTool.Orientation 0
ViewPlacement.AlignmentMethod Infer
ViewPlacement.AlignmentOption ToView
ViewStyle.ViewStyleGeneral.AngleSetting.Angle.Value 0
ViewStyle.ViewStyleGeneral.AngleSetting.Associative 0
ViewStyle.ViewStyleGeneral.AngleSetting.EvaluationPlane DrawingSheet
ViewStyle.ViewStyleGeneral.Scale.Denominator 1.0
ViewStyle.ViewStyleGeneral.Scale.Numerator 1.0
ViewStyle.ViewStyleGeneral.Scale.ScaleType Ratio
ViewStyle.ViewStyleOrientation.HingeLine.ReverseDirection false
ViewStyle.ViewStyleOrientation.HingeLine.VectorOption Inferred
ViewStyle.ViewStyleOrientation.Ovt.AssociativeOrientation 0
ViewUnfolded (deprecated) 1

New in version NX6.0.0.

Properties

Property Description
CreateFolded Returns or sets the create folded
HiddenObjects Returns the hidden objects
NonSectionedObjects Returns the non sectioned objects
ParentView Returns the selected parent view
SecondaryComponents Returns the list of secondary objects in the view
SectionLine Returns the section Line
SectionLineSegments Returns the section line segment builder
SectionViewMode Returns or sets the section line mode
SectionViewTool Returns the section view tool
SectionViewType Returns or sets the section line type
Tag Returns the Tag for this object.
ViewOrientation Returns the view orientation
ViewPlacement Returns the view placement
ViewStyle Returns the view style
ViewUnfolded Returns or sets the view unfolded toggle

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.

Property Detail

CreateFolded

SectionViewBuilder.CreateFolded

Returns or sets the create folded

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

Getter Method

Signature CreateFolded

Returns:
Return type:bool

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature CreateFolded

Parameters:viewUnfolded (bool) –

New in version NX10.0.0.

License requirements: drafting (“DRAFTING”)

HiddenObjects

SectionViewBuilder.HiddenObjects

Returns the hidden objects

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

Getter Method

Signature HiddenObjects

Returns:
Return type:NXOpen.Drawings.HiddenObjectsBuilder

New in version NX6.0.0.

License requirements: None.

NonSectionedObjects

SectionViewBuilder.NonSectionedObjects

Returns the non sectioned objects

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

Getter Method

Signature NonSectionedObjects

Returns:
Return type:NXOpen.Drawings.HiddenObjectsBuilder

New in version NX6.0.0.

License requirements: None.

ParentView

SectionViewBuilder.ParentView

Returns the selected parent view

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

Getter Method

Signature ParentView

Returns:
Return type:NXOpen.Drawings.ParentViewBuilder

New in version NX10.0.0.

License requirements: None.

SecondaryComponents

SectionViewBuilder.SecondaryComponents

Returns the list of secondary objects in the view

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

Getter Method

Signature SecondaryComponents

Returns:
Return type:NXOpen.Drawings.DraftingComponentSelectionBuilder

New in version NX11.0.0.

License requirements: None.

SectionLine

SectionViewBuilder.SectionLine

Returns the section Line

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

Getter Method

Signature SectionLine

Returns:
Return type:NXOpen.Drawings.SpecifySectionLineBuilder

New in version NX6.0.0.

License requirements: None.

SectionLineSegments

SectionViewBuilder.SectionLineSegments

Returns the section line segment builder

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

Getter Method

Signature SectionLineSegments

Returns:
Return type:NXOpen.Drawings.SectionLineSegmentsBuilder

New in version NX10.0.0.

License requirements: None.

SectionViewMode

SectionViewBuilder.SectionViewMode

Returns or sets the section line mode

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

Getter Method

Signature SectionViewMode

Returns:
Return type:NXOpen.Drawings.SectionViewBuilderSectionViewModeType

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature SectionViewMode

Parameters:sectionViewMode (NXOpen.Drawings.SectionViewBuilderSectionViewModeType) –

New in version NX10.0.0.

License requirements: None.

SectionViewTool

SectionViewBuilder.SectionViewTool

Returns the section view tool

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

Getter Method

Signature SectionViewTool

Returns:
Return type:NXOpen.Drawings.SvtBuilder

New in version NX6.0.0.

License requirements: None.

SectionViewType

SectionViewBuilder.SectionViewType

Returns or sets the section line type

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

Getter Method

Signature SectionViewType

Returns:
Return type:NXOpen.Drawings.SectionViewBuilderSectionLineType

New in version NX10.0.0.

License requirements: None.

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

Setter Method

Signature SectionViewType

Parameters:sectionLineType (NXOpen.Drawings.SectionViewBuilderSectionLineType) –

New in version NX10.0.0.

License requirements: None.

ViewOrientation

SectionViewBuilder.ViewOrientation

Returns the view orientation

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

Getter Method

Signature ViewOrientation

Returns:
Return type:NXOpen.Drawings.ViewOrientationBuilder

New in version NX6.0.0.

License requirements: None.

ViewPlacement

SectionViewBuilder.ViewPlacement

Returns the view placement

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

Getter Method

Signature ViewPlacement

Returns:
Return type:NXOpen.Drawings.ViewPlacementBuilder

New in version NX6.0.0.

License requirements: None.

ViewStyle

SectionViewBuilder.ViewStyle

Returns the view style

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

Getter Method

Signature ViewStyle

Returns:
Return type:NXOpen.Drawings.ViewStyleBuilder

New in version NX6.0.0.

License requirements: None.

ViewUnfolded

SectionViewBuilder.ViewUnfolded

Returns or sets the view unfolded toggle

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

Getter Method

Signature ViewUnfolded

Returns:
Return type:bool

New in version NX6.0.0.

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

License requirements: None.

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

Setter Method

Signature ViewUnfolded

Parameters:viewUnfolded (bool) –

New in version NX6.0.0.

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

License requirements: drafting (“DRAFTING”)

Method Detail

Validate

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