SectionLineSegmentBuilder Class¶
-
class
NXOpen.Drawings.SectionLineSegmentBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents a
NXOpen.Drawings.SectionLineSegmentBuilder.This class is used by the following classes to create and/or edit a section line segment:
NXOpen.Drawings.SteppedSectionLineNXOpen.Drawings.RevolvedSectionLineNXOpen.Drawings.PointToPointSectionLineNXOpen.Drawings.PointAndAngleSectionLineNXOpen.Drawings.PictorialSectionLineTo 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
AngleReturns: Return type: NXOpen.ExpressionNew in version NX6.0.0.
License requirements: None.
Point¶
-
SectionLineSegmentBuilder.Point¶ Returns or sets the point
-------------------------------------Getter Method
Signature
PointReturns: Return type: NXOpen.PointNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
PointParameters: 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
TypeReturns: Return type: NXOpen.Drawings.SectionLineSegmentBuilderTypesNew in version NX6.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: 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.