RevolvedSectionLineBuilder Class

class NXOpen.Drawings.RevolvedSectionLineBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a NXOpen.Drawings.RevolvedSectionLineBuilder.

This class is used to create or edit a NXOpen.Drawings.RevolvedSectionLine. .. 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 and bend segments for the first leg.
Leg2 Returns the list of cut and bend segments for the second leg.
RotationPoint Returns or sets the rotation point.
SingleLeg Returns or sets the single leg indicator.
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

RevolvedSectionLineBuilder.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: This API is not supported yet and should not be used.

License requirements: None.

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

Setter Method

Signature EndLocation1

Parameters:endLocation1 (NXOpen.Point) –

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”)

EndLocation2

RevolvedSectionLineBuilder.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: This API is not supported yet and should not be used.

License requirements: None.

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

Setter Method

Signature EndLocation2

Parameters:endLocation2 (NXOpen.Point) –

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”)

Leg1

RevolvedSectionLineBuilder.Leg1

Returns the list of cut and bend segments for the first leg.

The list will contain NXOpen.Drawings.SectionLineSegmentBuilderTypes.Cut and NXOpen.Drawings.SectionLineSegmentBuilderTypes.Bend types of NXOpen.Drawings.SectionLineSegmentBuilder segments.

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

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

Getter Method

Signature Leg1

Returns:
Return type:NXOpen.Drawings.SectionLineSegmentBuilderList

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

Leg2

RevolvedSectionLineBuilder.Leg2

Returns the list of cut and bend segments for the second leg.

This leg is not valid if the single leg indicator is set.

The list will contain NXOpen.Drawings.SectionLineSegmentBuilderTypes.Cut and NXOpen.Drawings.SectionLineSegmentBuilderTypes.Bend types of NXOpen.Drawings.SectionLineSegmentBuilder segments.

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

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

Getter Method

Signature Leg2

Returns:
Return type:NXOpen.Drawings.SectionLineSegmentBuilderList

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

RotationPoint

RevolvedSectionLineBuilder.RotationPoint

Returns or sets the rotation point.

The rotation point identifies position of the axis that the section line is to revolve about.

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

Getter Method

Signature RotationPoint

Returns:
Return type:NXOpen.Point

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionLineSegmentsBuilder.RotationPoint()

License requirements: None.

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

Setter Method

Signature RotationPoint

Parameters:rotationPoint (NXOpen.Point) –

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionLineSegmentsBuilder.RotationPoint()

License requirements: drafting (“DRAFTING”)

SingleLeg

RevolvedSectionLineBuilder.SingleLeg

Returns or sets the single leg indicator.

Set this flag to true to create a revolved section line that contains only one leg.

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

Getter Method

Signature SingleLeg

Returns:
Return type:bool

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionLineSegmentsBuilder.SingleLeg()

License requirements: None.

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

Setter Method

Signature SingleLeg

Parameters:singleLeg (bool) –

New in version NX6.0.0.

Deprecated since version NX10.0.0: Use Drawings.SectionLineSegmentsBuilder.SingleLeg()

License requirements: drafting (“DRAFTING”)

Method Detail

Validate

RevolvedSectionLineBuilder.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.