SectionLineStyleBuilder Class

class NXOpen.Drawings.SectionLineStyleBuilder

Bases: NXOpen.Builder

Represents 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 ArrowLength

Returns:
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 ArrowLength

Parameters: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 ArrowheadAngle

Returns:
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 ArrowheadAngle

Parameters: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 ArrowheadLength

Returns:
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 ArrowheadLength

Parameters: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 ArrowheadStyle

Returns:
Return type:NXOpen.Drawings.SectionLineStyleBuilderArrowheadStyleType

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use NXOpen.Drawings.ViewSectionLineBuilder.Style() instead.

License requirements: None.

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

Setter Method

Signature ArrowheadStyle

Parameters: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 BorderToArrowDistance

Returns:
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 BorderToArrowDistance

Parameters: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 CreateSectionLine

Returns:
Return type:NXOpen.Drawings.SectionLineStyleBuilderCreateSectionLineType

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use NXOpen.Drawings.ViewSectionLineBuilder.ShowSectionLine() instead.

License requirements: None.

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

Setter Method

Signature CreateSectionLine

Parameters: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 DisplayJisrotationLetter

Returns:
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 DisplayJisrotationLetter

Parameters: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 DisplayLabel

Returns:
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 DisplayLabel

Parameters: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 Font

Returns:
Return type:NXOpen.Drawings.SectionLineStyleBuilderFontStyle

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use NXOpen.Drawings.ViewSectionLineBuilder.LineColorFontWidth() instead.

License requirements: None.

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

Setter Method

Signature Font

Parameters: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 LabelLocation

Returns:
Return type:NXOpen.Drawings.SectionLineStyleBuilderLabelLocationStyle

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use NXOpen.Drawings.ViewSectionLineBuilder.LabelLocation() instead.

License requirements: None.

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

Setter Method

Signature LabelLocation

Parameters: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 Letter

Returns:
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 Letter

Parameters: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 LineLength

Returns:
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 LineLength

Parameters: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 Offset

Returns:
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 Offset

Parameters: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 SelectLetter

Returns:
Return type:NXOpen.SelectTaggedObject

New 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 Standard

Returns:
Return type:NXOpen.Drawings.SectionLineStyleBuilderStandardStyle

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use NXOpen.Drawings.ViewSectionLineBuilder.TypeStandard() instead.

License requirements: None.

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

Setter Method

Signature Standard

Parameters: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 StubLength

Returns:
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 StubLength

Parameters: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 UseOffset

Returns:
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 UseOffset

Parameters: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 Width

Returns:
Return type:NXOpen.Drawings.SectionLineStyleBuilderWidthStyle

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use NXOpen.Drawings.ViewSectionLineBuilder.LineColorFontWidth() instead.

License requirements: None.

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

Setter Method

Signature Width

Parameters: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.