NX Open C++ Reference Guide
|
Represents a Drawings::SectionLineSegmentBuilder . More...
Public Types | |
enum | Types { TypesAngle, TypesCut, TypesBend } |
the point More... | |
Public Member Functions | |
NXOpen::Expression * | Angle () |
Returns the angle. | |
NXOpen::Point * | Point () |
Returns the point Created in NX6.0.0. | |
void | SetPoint (NXOpen::Point *point) |
Sets the point Created in NX6.0.0. | |
void | SetType (NXOpen::Drawings::SectionLineSegmentBuilder::Types type) |
Sets the section line segment type Created in NX6.0.0. | |
NXOpen::Drawings::SectionLineSegmentBuilder::Types | Type () |
Returns the section line segment type Created in NX6.0.0. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Drawings::SectionLineSegmentBuilder .
This class is used by the following classes to create and/or edit a section line segment: @link Drawings::SteppedSectionLine Drawings::SteppedSectionLine@endlink @link Drawings::RevolvedSectionLine Drawings::RevolvedSectionLine@endlink @link Drawings::PointToPointSectionLine Drawings::PointToPointSectionLine@endlink @link Drawings::PointAndAngleSectionLine Drawings::PointAndAngleSectionLine@endlink @link Drawings::PictorialSectionLine Drawings::PictorialSectionLine@endlink <br> To create a new instance of this class, use @link Drawings::SectionLineCollection::CreateSectionLineSegmentBuilder Drawings::SectionLineCollection::CreateSectionLineSegmentBuilder @endlink <br>
Created in NX6.0.0.
the point
TypesAngle |
Section line cut segment used by: Drawings::PointAndAngleSectionLineBuilder . |
TypesCut |
Section line cut segment used by: Drawings::PointToPointSectionLineBuilder Drawings::RevolvedSectionLineBuilder Drawings::SteppedSectionLineBuilder. |
TypesBend |
Section line bend segment used by: Drawings::PointToPointSectionLineBuilder Drawings::RevolvedSectionLineBuilder Drawings::SteppedSectionLineBuilder. |
NXOpen::Expression* NXOpen::Drawings::SectionLineSegmentBuilder::Angle | ( | ) |
Returns the angle.
The segment angle is only valid for segments of type Drawings::SectionLineSegmentBuilder::TypesAngle . The angle is defined to be the angle between the drawing's X direction and the segment.
Created in NX6.0.0.
License requirements : None
NXOpen::Point* NXOpen::Drawings::SectionLineSegmentBuilder::Point | ( | ) |
Returns the point
Created in NX6.0.0.
License requirements : None
void NXOpen::Drawings::SectionLineSegmentBuilder::SetPoint | ( | NXOpen::Point * | point | ) |
Sets the point
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
point | point |
void NXOpen::Drawings::SectionLineSegmentBuilder::SetType | ( | NXOpen::Drawings::SectionLineSegmentBuilder::Types | type | ) |
Sets the section line segment type
Created in NX6.0.0.
License requirements : drafting ("DRAFTING")
type | type |
NXOpen::Drawings::SectionLineSegmentBuilder::Types NXOpen::Drawings::SectionLineSegmentBuilder::Type | ( | ) |
Returns the section line segment type
Created in NX6.0.0.
License requirements : None
|
virtual |
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.
Implements NXOpen::GeometricUtilities::IComponentBuilder.