PointToPointSectionLineBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# PointToPointSectionLineBuilder Class

class `NXOpen.Drawings.``PointToPointSectionLineBuilder`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  Represents a `NXOpen.Drawings.PointToPointSectionLineBuilder`.

  This class is used to create or edit a `NXOpen.Drawings.PointToPointSectionLine`. .. versionadded:: NX6.0.0

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

# Properties

Property | Description
--- | ---
EndLocation1 | Returns or sets the end location 1 which determines the position of the first arrow segment in the section line.
EndLocation2 | Returns or sets the end location 2 which determines the position of the second arrow segment in the section line
Leg1 | Returns the list of cut segments.
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Property Detail

## EndLocation1

`PointToPointSectionLineBuilder.``EndLocation1`

  Returns or sets the end location 1 which determines the position of the first arrow segment in the section line.

  `-------------------------------------`

  Getter Method

  Signature `EndLocation1`

  Returns: |
  Return type: | `NXOpen.Point`

  New in version NX6.0.0.

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

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `EndLocation1`

  Parameters: | endLocation1 (`NXOpen.Point`) –

  New in version NX6.0.0.

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

  License requirements: drafting (“DRAFTING”)

## EndLocation2

`PointToPointSectionLineBuilder.``EndLocation2`

  Returns or sets the end location 2 which determines the position of the second arrow segment in the section line

  `-------------------------------------`

  Getter Method

  Signature `EndLocation2`

  Returns: |
  Return type: | `NXOpen.Point`

  New in version NX6.0.0.

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

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `EndLocation2`

  Parameters: | endLocation2 (`NXOpen.Point`) –

  New in version NX6.0.0.

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

  License requirements: drafting (“DRAFTING”)

## Leg1

`PointToPointSectionLineBuilder.``Leg1`

  Returns the list of cut segments.

  The list will contain `NXOpen.Drawings.SectionLineSegmentBuilderTypes.Cut` type `NXOpen.Drawings.SectionLineSegmentBuilder` segments only.

  Note that there is no order to the elements of this list since the order is determined by the hinge or arrow direction.

  `-------------------------------------`

  Getter Method

  Signature `Leg1`

  Returns: |
  Return type: | `NXOpen.Drawings.SectionLineSegmentBuilderList`

  New in version NX6.0.0.

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

  License requirements: None.

# Method Detail

## Validate

`PointToPointSectionLineBuilder.``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.