SectionLineSegmentBuilder Class¶
-
class
NXOpen.Drawings.
SectionLineSegmentBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents a
NXOpen.Drawings.SectionLineSegmentBuilder
.This class is used by the following classes to create and/or edit a section line segment:
NXOpen.Drawings.SteppedSectionLine
NXOpen.Drawings.RevolvedSectionLine
NXOpen.Drawings.PointToPointSectionLine
NXOpen.Drawings.PointAndAngleSectionLine
NXOpen.Drawings.PictorialSectionLine
To create a new instance of this class, useNXOpen.Drawings.SectionLineCollection.CreateSectionLineSegmentBuilder
New in version NX6.0.0.
Properties¶
Property | Description |
---|---|
Angle | Returns the angle. |
Point | Returns or sets the point |
Tag | Returns the Tag for this object. |
Type | Returns or sets the section line segment type |
Methods¶
Method | Description |
---|---|
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Enumerations¶
SectionLineSegmentBuilderTypes Enumeration | the point |
Property Detail¶
Angle¶
-
SectionLineSegmentBuilder.
Angle
¶ Returns the angle.
The segment angle is only valid for segments of type
NXOpen.Drawings.SectionLineSegmentBuilderTypes.Angle
. The angle is defined to be the angle between the drawing’s X direction and the segment.-------------------------------------
Getter Method
Signature
Angle()
Returns: Return type: NXOpen.Expression
New in version NX6.0.0.
License requirements: None.
Point¶
-
SectionLineSegmentBuilder.
Point
¶ Returns or sets the point
-------------------------------------
Getter Method
Signature
Point()
Returns: Return type: NXOpen.Point
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Point(point)
Parameters: point ( NXOpen.Point
) –New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
Type¶
-
SectionLineSegmentBuilder.
Type
¶ Returns or sets the section line segment type
-------------------------------------
Getter Method
Signature
Type()
Returns: Return type: NXOpen.Drawings.SectionLineSegmentBuilderTypes
New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Type(type)
Parameters: type ( NXOpen.Drawings.SectionLineSegmentBuilderTypes
) –New in version NX6.0.0.
License requirements: drafting (“DRAFTING”)
Method Detail¶
Validate¶
-
SectionLineSegmentBuilder.
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.