SectionLineStyleBuilder Class¶
-
class
NXOpen.Drawings.SectionLineStyleBuilder¶ Bases:
NXOpen.BuilderRepresents a Drawings.
SectionLineStyleBuiler. The SectionLineStyleBuilder is used to specify section line style.
To create a new instance of this class, use
NXOpen.Drawings.SectionLineCollection.CreateSectionLineStyleBuilder()New in version NX6.0.0.
Properties¶
| Property | Description |
|---|---|
| ArrowLength | Returns or sets the arrow length |
| ArrowheadAngle | Returns or sets the arrowhead angle |
| ArrowheadLength | Returns or sets the arrowhead length |
| ArrowheadStyle | Returns or sets the arrowhead style |
| BorderToArrowDistance | Returns or sets the border to arrow distance |
| CreateSectionLine | Returns or sets a value that indicates whether or not to create a view for the section line |
| DisplayJisrotationLetter | Returns or sets the display jisrotation letter |
| DisplayLabel | Returns or sets the display label |
| Font | Returns or sets the font |
| LabelLocation | Returns or sets the label location |
| Letter | Returns or sets the letter |
| LineLength | Returns or sets the line length |
| Offset | Returns or sets the offset |
| SelectLetter | Returns the selected note for jisrotation letter |
| Standard | Returns or sets the standard |
| StubLength | Returns or sets the stub length |
| Tag | Returns the Tag for this object. |
| UseOffset | Returns or sets the use offset |
| Width | Returns or sets the width |
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. |
| GetColor | Returns the color |
| 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. |
| SetColor | Sets the color |
| 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¶
| SectionLineStyleBuilderArrowheadStyleType Enumeration | This enum represents arrowhead style type. |
| SectionLineStyleBuilderCreateSectionLineType Enumeration | This enum represents whether or not to create a view for the section line. |
| SectionLineStyleBuilderFontStyle Enumeration | This enum represents section line font style type. |
| SectionLineStyleBuilderLabelLocationStyle Enumeration | This enum represents section line label location for ISO128 section lines. |
| SectionLineStyleBuilderStandardStyle Enumeration | This enum represents section line standard style type. |
| SectionLineStyleBuilderWidthStyle Enumeration | This enum represents section line width style type. |
Property Detail¶
ArrowLength¶
-
SectionLineStyleBuilder.ArrowLength¶ Returns or sets the arrow length
-------------------------------------Getter Method
Signature
ArrowLengthReturns: Return type: float New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.ArrowLength()instead.License requirements: None.
-------------------------------------Setter Method
Signature
ArrowLengthParameters: arrowLength (float) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.ArrowLength()instead.License requirements: drafting (“DRAFTING”)
ArrowheadAngle¶
-
SectionLineStyleBuilder.ArrowheadAngle¶ Returns or sets the arrowhead angle
-------------------------------------Getter Method
Signature
ArrowheadAngleReturns: Return type: float New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.ArrowheadAngle()instead.License requirements: None.
-------------------------------------Setter Method
Signature
ArrowheadAngleParameters: arrowheadAngle (float) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.ArrowheadAngle()instead.License requirements: drafting (“DRAFTING”)
ArrowheadLength¶
-
SectionLineStyleBuilder.ArrowheadLength¶ Returns or sets the arrowhead length
-------------------------------------Getter Method
Signature
ArrowheadLengthReturns: Return type: float New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.ArrowheadLength()instead.License requirements: None.
-------------------------------------Setter Method
Signature
ArrowheadLengthParameters: arrowheadLength (float) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.ArrowheadLength()instead.License requirements: drafting (“DRAFTING”)
ArrowheadStyle¶
-
SectionLineStyleBuilder.ArrowheadStyle¶ Returns or sets the arrowhead style
-------------------------------------Getter Method
Signature
ArrowheadStyleReturns: Return type: NXOpen.Drawings.SectionLineStyleBuilderArrowheadStyleTypeNew in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.Style()instead.License requirements: None.
-------------------------------------Setter Method
Signature
ArrowheadStyleParameters: arrowheadStyle ( NXOpen.Drawings.SectionLineStyleBuilderArrowheadStyleType) –New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.Style()instead.License requirements: drafting (“DRAFTING”)
BorderToArrowDistance¶
-
SectionLineStyleBuilder.BorderToArrowDistance¶ Returns or sets the border to arrow distance
-------------------------------------Getter Method
Signature
BorderToArrowDistanceReturns: Return type: float New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.BorderToArrowDistance()instead.License requirements: None.
-------------------------------------Setter Method
Signature
BorderToArrowDistanceParameters: borderToArrowDistance (float) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.BorderToArrowDistance()instead.License requirements: drafting (“DRAFTING”)
CreateSectionLine¶
-
SectionLineStyleBuilder.CreateSectionLine¶ Returns or sets a value that indicates whether or not to create a view for the section line
-------------------------------------Getter Method
Signature
CreateSectionLineReturns: Return type: NXOpen.Drawings.SectionLineStyleBuilderCreateSectionLineTypeNew in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.ShowSectionLine()instead.License requirements: None.
-------------------------------------Setter Method
Signature
CreateSectionLineParameters: createSectionLine ( NXOpen.Drawings.SectionLineStyleBuilderCreateSectionLineType) –New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.ShowSectionLine()instead.License requirements: drafting (“DRAFTING”)
DisplayJisrotationLetter¶
-
SectionLineStyleBuilder.DisplayJisrotationLetter¶ Returns or sets the display jisrotation letter
-------------------------------------Getter Method
Signature
DisplayJisrotationLetterReturns: Return type: bool New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.DisplayRotationLetter()instead.License requirements: None.
-------------------------------------Setter Method
Signature
DisplayJisrotationLetterParameters: displayJISRotationLetter (bool) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.DisplayRotationLetter()instead.License requirements: drafting (“DRAFTING”)
DisplayLabel¶
-
SectionLineStyleBuilder.DisplayLabel¶ Returns or sets the display label
-------------------------------------Getter Method
Signature
DisplayLabelReturns: Return type: bool New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.Display()instead.License requirements: None.
-------------------------------------Setter Method
Signature
DisplayLabelParameters: displayLabel (bool) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.Display()instead.License requirements: drafting (“DRAFTING”)
Font¶
-
SectionLineStyleBuilder.Font¶ Returns or sets the font
-------------------------------------Getter Method
Signature
FontReturns: Return type: NXOpen.Drawings.SectionLineStyleBuilderFontStyleNew in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.LineColorFontWidth()instead.License requirements: None.
-------------------------------------Setter Method
Signature
FontParameters: font ( NXOpen.Drawings.SectionLineStyleBuilderFontStyle) –New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.LineColorFontWidth()instead.License requirements: drafting (“DRAFTING”)
LabelLocation¶
-
SectionLineStyleBuilder.LabelLocation¶ Returns or sets the label location
-------------------------------------Getter Method
Signature
LabelLocationReturns: Return type: NXOpen.Drawings.SectionLineStyleBuilderLabelLocationStyleNew in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.LabelLocation()instead.License requirements: None.
-------------------------------------Setter Method
Signature
LabelLocationParameters: labelLocation ( NXOpen.Drawings.SectionLineStyleBuilderLabelLocationStyle) –New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.LabelLocation()instead.License requirements: drafting (“DRAFTING”)
Letter¶
-
SectionLineStyleBuilder.Letter¶ Returns or sets the letter
-------------------------------------Getter Method
Signature
LetterReturns: Return type: str New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Drawings.ViewCommonViewLabelBuilder.Letter()instead.License requirements: None.
-------------------------------------Setter Method
Signature
LetterParameters: letter (str) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
Drawings.ViewCommonViewLabelBuilder.Letter()instead.License requirements: drafting (“DRAFTING”)
LineLength¶
-
SectionLineStyleBuilder.LineLength¶ Returns or sets the line length
-------------------------------------Getter Method
Signature
LineLengthReturns: Return type: float New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.LineLength()instead.License requirements: None.
-------------------------------------Setter Method
Signature
LineLengthParameters: lineLength (float) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.LineLength()instead.License requirements: drafting (“DRAFTING”)
Offset¶
-
SectionLineStyleBuilder.Offset¶ Returns or sets the offset
-------------------------------------Getter Method
Signature
OffsetReturns: Return type: float New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.UseOffset()instead.License requirements: None.
-------------------------------------Setter Method
Signature
OffsetParameters: offset (float) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.UseOffset()instead.License requirements: drafting (“DRAFTING”)
SelectLetter¶
-
SectionLineStyleBuilder.SelectLetter¶ Returns the selected note for jisrotation letter
-------------------------------------Getter Method
Signature
SelectLetterReturns: Return type: NXOpen.SelectTaggedObjectNew in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.SelectRotationLetter()instead.License requirements: None.
Standard¶
-
SectionLineStyleBuilder.Standard¶ Returns or sets the standard
-------------------------------------Getter Method
Signature
StandardReturns: Return type: NXOpen.Drawings.SectionLineStyleBuilderStandardStyleNew in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.TypeStandard()instead.License requirements: None.
-------------------------------------Setter Method
Signature
StandardParameters: standard ( NXOpen.Drawings.SectionLineStyleBuilderStandardStyle) –New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.TypeStandard()instead.License requirements: drafting (“DRAFTING”)
StubLength¶
-
SectionLineStyleBuilder.StubLength¶ Returns or sets the stub length
-------------------------------------Getter Method
Signature
StubLengthReturns: Return type: float New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.Overhang()instead.License requirements: None.
-------------------------------------Setter Method
Signature
StubLengthParameters: stubLength (float) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.Overhang()instead.License requirements: drafting (“DRAFTING”)
UseOffset¶
-
SectionLineStyleBuilder.UseOffset¶ Returns or sets the use offset
-------------------------------------Getter Method
Signature
UseOffsetReturns: Return type: bool New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.UseOffset()instead.License requirements: None.
-------------------------------------Setter Method
Signature
UseOffsetParameters: useOffset (bool) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.UseOffset()instead.License requirements: drafting (“DRAFTING”)
Width¶
-
SectionLineStyleBuilder.Width¶ Returns or sets the width
-------------------------------------Getter Method
Signature
WidthReturns: Return type: NXOpen.Drawings.SectionLineStyleBuilderWidthStyleNew in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.LineColorFontWidth()instead.License requirements: None.
-------------------------------------Setter Method
Signature
WidthParameters: width ( NXOpen.Drawings.SectionLineStyleBuilderWidthStyle) –New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.LineColorFontWidth()instead.License requirements: drafting (“DRAFTING”)
Method Detail¶
GetColor¶
-
SectionLineStyleBuilder.GetColor¶ Returns the color
Signature
GetColor()Returns: Return type: Id New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.LineColorFontWidth()instead.License requirements: None.
SetColor¶
-
SectionLineStyleBuilder.SetColor¶ Sets the color
Signature
SetColor(color)Parameters: color (Id) – New in version NX6.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Drawings.ViewSectionLineBuilder.LineColorFontWidth()instead.License requirements: drafting (“DRAFTING”)
Validate¶
-
SectionLineStyleBuilder.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.