SectionLineBuilder Class¶
-
class
NXOpen.Drawings.SectionLineBuilder¶ Bases:
NXOpen.BuilderRepresents a
NXOpen.Drawings.SectionLineBuilder.This class is used to create or edit a
NXOpen.Drawings.SectionLine. To create a new instance of this class, useNXOpen.Drawings.SectionLineCollection.CreateSectionLineBuilder()New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.SectionViewBuilderSectionLineType
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.HalfPictorialandNXOpen.Drawings.SectionLineBuilderTypes.Orientedsection lines-------------------------------------Getter Method
Signature
ArrowDirectionReturns: Return type: NXOpen.DirectionNew 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
ArrowDirectionParameters: 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.HalfPictorialandNXOpen.Drawings.SectionLineBuilderTypes.Orientedsection lines-------------------------------------Getter Method
Signature
CutDirectionReturns: Return type: NXOpen.DirectionNew 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
CutDirectionParameters: 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
HalfReturns: Return type: NXOpen.Drawings.HalfSectionLineBuilderNew 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
HalfPictorialReturns: Return type: NXOpen.Drawings.HalfSectionLineBuilderNew 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, andNXOpen.Drawings.SectionLineBuilderTypes.PointAndAnglesection lines-------------------------------------Getter Method
Signature
HingeDirectionReturns: Return type: NXOpen.DirectionNew in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Drawings.ViewStyleOrientationBuilder.HingeLine()License requirements: None.
-------------------------------------Setter Method
Signature
HingeDirectionParameters: 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
OrientedReturns: Return type: NXOpen.Drawings.OrientedSectionLineBuilderNew 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
ParentViewReturns: Return type: NXOpen.Drawings.ParentViewBuilderNew 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
PictorialReturns: Return type: NXOpen.Drawings.SteppedSectionLineBuilderNew 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
PointAndAngleReturns: Return type: NXOpen.Drawings.PointAndAngleSectionLineBuilderNew 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
PointToPointReturns: Return type: NXOpen.Drawings.PointToPointSectionLineBuilderNew 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
RevolvedReturns: Return type: NXOpen.Drawings.RevolvedSectionLineBuilderNew 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
SimpleOrSteppedReturns: Return type: NXOpen.Drawings.SteppedSectionLineBuilderNew 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
StyleReturns: Return type: NXOpen.Drawings.SectionLineStyleBuilderNew 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
TypeReturns: Return type: NXOpen.Drawings.SectionLineBuilderTypesNew in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Drawings.SectionViewBuilder.SectionViewType()License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: 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.