SectionLineCollection Class

class NXOpen.Drawings.SectionLineCollection

Bases: object

Represents a collection of :py:class:`NXOpen.Drawings.SectionLine`s.

Use DraftingManager.SectionLines() to get the instance of this class.

New in version NX6.0.0.

Methods

Method Description
CreateSectionLineBuilder Creates the section line builder
CreateSectionLineSegmentBuilder Creates the section line segment builder
CreateSectionLineStyleBuilder Creates the Section Line Style Builder
CreateSketchSectionLineBuilder Creates the Sketch Section Line builder
GenerateSectionLineLabelAttribute Generates a parametric text attribute that is similar to the current section line label but contains the section line segment information.

Method Detail

CreateSectionLineBuilder

SectionLineCollection.CreateSectionLineBuilder

Creates the section line builder

Signature CreateSectionLineBuilder(sectionLine)

Parameters:sectionLine (NXOpen.Drawings.SectionLine) –
Returns:
Return type:NXOpen.Drawings.SectionLineBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionViewBuilder.SectionLineSegments() instead.

License requirements: drafting (“DRAFTING”)

CreateSectionLineSegmentBuilder

SectionLineCollection.CreateSectionLineSegmentBuilder

Creates the section line segment builder

Signature CreateSectionLineSegmentBuilder()

Returns:
Return type:NXOpen.Drawings.SectionLineSegmentBuilder

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionViewBuilder.SectionLineSegments() instead.

License requirements: drafting (“DRAFTING”)

CreateSectionLineStyleBuilder

SectionLineCollection.CreateSectionLineStyleBuilder

Creates the Section Line Style Builder

Signature CreateSectionLineStyleBuilder(sectionline)

Parameters:sectionline (NXOpen.Drawings.SectionLine) –
Returns:
Return type:NXOpen.Drawings.SectionLineStyleBuilder

New in version NX6.0.0.

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

License requirements: drafting (“DRAFTING”)

CreateSketchSectionLineBuilder

SectionLineCollection.CreateSketchSectionLineBuilder

Creates the Sketch Section Line builder

Signature CreateSketchSectionLineBuilder(sectionLine)

Parameters:sectionLine (NXOpen.Drawings.SectionLine) –
Returns:
Return type:NXOpen.Drawings.SketchSectionLineBuilder

New in version NX10.0.0.

License requirements: drafting (“DRAFTING”)

GenerateSectionLineLabelAttribute

SectionLineCollection.GenerateSectionLineLabelAttribute

Generates a parametric text attribute that is similar to the current section line label but contains the section line segment information.

Note that the text in the section line note is not overwritten.

Signature GenerateSectionLineLabelAttribute(note)

Parameters:note (NXOpen.Annotations.BaseNote) – The section line note to generate the attribute from
Returns:
Return type:str

New in version NX10.0.0.

License requirements: drafting (“DRAFTING”)