SectionViewBuilder Class¶
-
class
NXOpen.Drawings.SectionViewBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Drawings.SectionViewbuilderTo 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. |
Enumerations¶
| SectionViewBuilderSectionCutType Enumeration | Section Line Cut type |
| SectionViewBuilderSectionLineType Enumeration | Section Line type |
| SectionViewBuilderSectionViewModeType Enumeration | Section Line Mode |
Property Detail¶
CreateFolded¶
-
SectionViewBuilder.CreateFolded¶ Returns or sets the create folded
-------------------------------------Getter Method
Signature
CreateFoldedReturns: Return type: bool New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
CreateFoldedParameters: viewUnfolded (bool) – New in version NX10.0.0.
License requirements: drafting (“DRAFTING”)
NonSectionedObjects¶
-
SectionViewBuilder.NonSectionedObjects¶ Returns the non sectioned objects
-------------------------------------Getter Method
Signature
NonSectionedObjectsReturns: Return type: NXOpen.Drawings.HiddenObjectsBuilderNew in version NX6.0.0.
License requirements: None.
ParentView¶
-
SectionViewBuilder.ParentView¶ Returns the selected parent view
-------------------------------------Getter Method
Signature
ParentViewReturns: Return type: NXOpen.Drawings.ParentViewBuilderNew in version NX10.0.0.
License requirements: None.
SecondaryComponents¶
-
SectionViewBuilder.SecondaryComponents¶ Returns the list of secondary objects in the view
-------------------------------------Getter Method
Signature
SecondaryComponentsReturns: Return type: NXOpen.Drawings.DraftingComponentSelectionBuilderNew in version NX11.0.0.
License requirements: None.
SectionLine¶
-
SectionViewBuilder.SectionLine¶ Returns the section Line
-------------------------------------Getter Method
Signature
SectionLineReturns: Return type: NXOpen.Drawings.SpecifySectionLineBuilderNew in version NX6.0.0.
License requirements: None.
SectionLineSegments¶
-
SectionViewBuilder.SectionLineSegments¶ Returns the section line segment builder
-------------------------------------Getter Method
Signature
SectionLineSegmentsReturns: Return type: NXOpen.Drawings.SectionLineSegmentsBuilderNew in version NX10.0.0.
License requirements: None.
SectionViewMode¶
-
SectionViewBuilder.SectionViewMode¶ Returns or sets the section line mode
-------------------------------------Getter Method
Signature
SectionViewModeReturns: Return type: NXOpen.Drawings.SectionViewBuilderSectionViewModeTypeNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SectionViewModeParameters: sectionViewMode ( NXOpen.Drawings.SectionViewBuilderSectionViewModeType) –New in version NX10.0.0.
License requirements: None.
SectionViewTool¶
-
SectionViewBuilder.SectionViewTool¶ Returns the section view tool
-------------------------------------Getter Method
Signature
SectionViewToolReturns: Return type: NXOpen.Drawings.SvtBuilderNew in version NX6.0.0.
License requirements: None.
SectionViewType¶
-
SectionViewBuilder.SectionViewType¶ Returns or sets the section line type
-------------------------------------Getter Method
Signature
SectionViewTypeReturns: Return type: NXOpen.Drawings.SectionViewBuilderSectionLineTypeNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SectionViewTypeParameters: sectionLineType ( NXOpen.Drawings.SectionViewBuilderSectionLineType) –New in version NX10.0.0.
License requirements: None.
ViewOrientation¶
-
SectionViewBuilder.ViewOrientation¶ Returns the view orientation
-------------------------------------Getter Method
Signature
ViewOrientationReturns: Return type: NXOpen.Drawings.ViewOrientationBuilderNew in version NX6.0.0.
License requirements: None.
ViewPlacement¶
-
SectionViewBuilder.ViewPlacement¶ Returns the view placement
-------------------------------------Getter Method
Signature
ViewPlacementReturns: Return type: NXOpen.Drawings.ViewPlacementBuilderNew in version NX6.0.0.
License requirements: None.
ViewStyle¶
-
SectionViewBuilder.ViewStyle¶ Returns the view style
-------------------------------------Getter Method
Signature
ViewStyleReturns: Return type: NXOpen.Drawings.ViewStyleBuilderNew in version NX6.0.0.
License requirements: None.
ViewUnfolded¶
-
SectionViewBuilder.ViewUnfolded¶ Returns or sets the view unfolded toggle
-------------------------------------Getter Method
Signature
ViewUnfoldedReturns: 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
ViewUnfoldedParameters: 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.