NX Open C++ Reference Guide
|
Represents a @link Features::GeneralConic Features::GeneralConic@endlink builder <br> To create a new instance of this class, use @link Features::FeatureCollection::CreateGeneralConicBuilder Features::FeatureCollection::CreateGeneralConicBuilder @endlink <br>
Default values. More...
Public Types | |
enum | DrawingPlaneOptions { DrawingPlaneOptionsView, DrawingPlaneOptionsXcYc, DrawingPlaneOptionsYcZc, DrawingPlaneOptionsZcXc, DrawingPlaneOptionsGeneral } |
Drawing Plane options. More... | |
enum | Types { TypesFivePoints, TypesFourPointsOneSlope, TypesThreePointsTwoSlopes, TypesThreePointsAnchor, TypesTwoPointsAnchorRho, TypesTwoPointsTwoSlopesRho, TypesCoefficients } |
General Conic Types. More... | |
Public Member Functions | |
NXOpen::Point * | AnchorPoint () |
Returns the anchor point. | |
bool | AssociativeToggle () |
Returns the associative toggle Created in NX8.5.0. | |
NXOpen::CoordinateSystem * | CoefficientCSYS () |
Returns the coefficient type coordinate system. | |
NXOpen::CoordinateSystem * | ConstrainedPlaneCSYS () |
Returns the constrained plane. | |
NXOpen::Features::GeneralConicBuilder::DrawingPlaneOptions | DrawingPlaneOption () |
Returns the drawing plane. | |
NXOpen::Point * | EndPoint () |
Returns the end point. | |
void | Evaluate () |
Evaluates the curve. | |
NXOpen::GeometricUtilities::CurveExtensionBuilder * | Extender () |
Returns the extension option Created in NX8.5.0. | |
NXOpen::Plane * | GeneralDrawingPlane () |
Returns the specify plane. | |
NXOpen::Point * | InteriorPoint1 () |
Returns the first interior point. | |
NXOpen::Point * | InteriorPoint2 () |
Returns the second interior point. | |
NXOpen::Point * | InteriorPoint3 () |
Returns the third interior point. | |
bool | PlaneConstrainedToggle () |
Returns the plane constrained toggle. | |
double | RhoValue () |
Returns the rho value. | |
void | SetAnchorPoint (NXOpen::Point *anchorPoint) |
Sets the anchor point. | |
void | SetAssociativeToggle (bool associativeToggle) |
Sets the associative toggle Created in NX8.5.0. | |
void | SetCoefficientCSYS (NXOpen::CoordinateSystem *coefficientCSYS) |
Sets the coefficient type coordinate system. | |
void | SetConstrainedPlaneCSYS (NXOpen::CoordinateSystem *constrainedPlaneCSYS) |
Sets the constrained plane. | |
void | SetDrawingPlaneOption (NXOpen::Features::GeneralConicBuilder::DrawingPlaneOptions drawingPlaneOption) |
Sets the drawing plane. | |
void | SetEndPoint (NXOpen::Point *endPoint) |
Sets the end point. | |
void | SetGeneralDrawingPlane (NXOpen::Plane *generalDrawingPlane) |
Sets the specify plane. | |
void | SetInteriorPoint1 (NXOpen::Point *interiorPoint1) |
Sets the first interior point. | |
void | SetInteriorPoint2 (NXOpen::Point *interiorPoint2) |
Sets the second interior point. | |
void | SetInteriorPoint3 (NXOpen::Point *interiorPoint3) |
Sets the third interior point. | |
void | SetPlaneConstrainedToggle (bool planeConstrainedToggle) |
Sets the plane constrained toggle. | |
void | SetRhoValue (double rhoValue) |
Sets the rho value. | |
void | SetSlopeAtEndPoint (NXOpen::Direction *slopeAtEndPoint) |
Sets the slope at end point. | |
void | SetSlopeAtStartPoint (NXOpen::Direction *slopeAtStartPoint) |
Sets the slope at start point. | |
void | SetStartPoint (NXOpen::Point *startPoint) |
Sets the start point. | |
void | SetType (NXOpen::Features::GeneralConicBuilder::Types type) |
Sets the conic creation type. | |
void | SetValueA (double valueA) |
Sets the coefficient value for a. | |
void | SetValueB (double valueB) |
Sets the coefficient value for b. | |
void | SetValueC (double valueC) |
Sets the coefficient value for c. | |
void | SetValueD (double valueD) |
Sets the coefficient value for d. | |
void | SetValueE (double valueE) |
Sets the coefficient value for e. | |
void | SetValueF (double valueF) |
Sets the coefficient value for f. | |
NXOpen::Direction * | SlopeAtEndPoint () |
Returns the slope at end point. | |
NXOpen::Direction * | SlopeAtStartPoint () |
Returns the slope at start point. | |
NXOpen::Point * | StartPoint () |
Returns the start point. | |
NXOpen::Features::GeneralConicBuilder::Types | Type () |
Returns the conic creation type. | |
double | ValueA () |
Returns the coefficient value for a. | |
double | ValueB () |
Returns the coefficient value for b. | |
double | ValueC () |
Returns the coefficient value for c. | |
double | ValueD () |
Returns the coefficient value for d. | |
double | ValueE () |
Returns the coefficient value for e. | |
double | ValueF () |
Returns the coefficient value for f. | |
![]() | |
NXOpen::Features::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. | |
NXOpen::Features::Feature * | GetFeature () |
Returns the feature currently being edited by this builder. | |
void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
Re-suppress an internal parent feature (a slave feature) after it has been edited. | |
bool | ParentFeatureInternal () |
Returns whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
bool | PatchSolutionFlag () |
Returns the patch solution flag Created in NX8.0.1. | |
NXString | PatchSurfaceFilename () |
Returns the patch surface filename Created in NX8.0.1. | |
void | SetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the parent features which would be internal or slaves to the feature being created or commited Created in NX6.0.0. | |
void | SetParentFeatureInternal (bool isInternal) |
Sets whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. | |
void | SetPatchSolutionFlag (bool optionValue) |
Sets the patch solution flag Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const NXString &surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetPatchSurfaceFilename (const char *surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. | |
void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
Unsuppress an internal parent feature (a slave feature) so it can be edited. | |
NXString | SurroundingPatchSurfaceFilename () |
Returns the surrounding patch surface filename Created in NX8.0.1. | |
void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the internal parent feature of the feature being edited to external Created in NX6.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
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 @link Features::GeneralConic Features::GeneralConic@endlink builder <br> To create a new instance of this class, use @link Features::FeatureCollection::CreateGeneralConicBuilder Features::FeatureCollection::CreateGeneralConicBuilder @endlink <br>
Default values.
Property | Value |
---|---|
DrawingPlaneOption | |
Extender.EndExtensionOption |
None |
Extender.EndValue.Value |
0 (millimeters part), 0 (inches part) |
Extender.StartExtensionOption |
None |
Extender.StartValue.Value |
0 (millimeters part), 0 (inches part) |
PlaneConstrainedToggle |
0 |
RhoValue |
0.5 |
ValueA |
1.0 |
ValueB |
0.0 |
ValueC |
1.0 |
ValueD |
0.0 |
ValueE |
0.0 |
ValueF |
-1.0 |
Created in NX8.5.0.
Drawing Plane options.
Used by all point types to specify point selection guide planes.
DrawingPlaneOptionsView |
Use view plane. |
DrawingPlaneOptionsXcYc |
Use XC-YC plane. |
DrawingPlaneOptionsYcZc |
Use YC-ZC plane. |
DrawingPlaneOptionsZcXc |
Use ZC-XC plane. |
DrawingPlaneOptionsGeneral |
Use GeneralDrawingPlane and SetGeneralDrawingPlane plane. |
General Conic Types.
There are several creation methods available. All except the TypesCoefficients type require setting points/slopes.
TypesFivePoints |
Five points, no slopes, no anchor, no rho value. |
TypesFourPointsOneSlope |
Four points, one slope, no anchor, no rho value. |
TypesThreePointsTwoSlopes |
Three points, two slopes, no anchor, no rho value. |
TypesThreePointsAnchor |
Three points, no slopes, anchor, no rho value. |
TypesTwoPointsAnchorRho |
Two points, no slopes, anchor, rho value. |
TypesTwoPointsTwoSlopesRho |
Two points, two slopes, no anchor, rho value. |
TypesCoefficients |
Coefficient values and CoefficientCSYS and SetCoefficientCSYS . |
NXOpen::Point* NXOpen::Features::GeneralConicBuilder::AnchorPoint | ( | ) |
Returns the anchor point.
Used by TypesThreePointsAnchor TypesTwoPointsAnchorRho
Created in NX8.5.0.
License requirements : None
bool NXOpen::Features::GeneralConicBuilder::AssociativeToggle | ( | ) |
Returns the associative toggle
Created in NX8.5.0.
License requirements : None
NXOpen::CoordinateSystem* NXOpen::Features::GeneralConicBuilder::CoefficientCSYS | ( | ) |
Returns the coefficient type coordinate system.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : None
NXOpen::CoordinateSystem* NXOpen::Features::GeneralConicBuilder::ConstrainedPlaneCSYS | ( | ) |
Returns the constrained plane.
Used by point types. Enabled by PlaneConstrainedToggle and SetPlaneConstrainedToggle .
Created in NX8.5.0.
License requirements : None
NXOpen::Features::GeneralConicBuilder::DrawingPlaneOptions NXOpen::Features::GeneralConicBuilder::DrawingPlaneOption | ( | ) |
Returns the drawing plane.
Used by point types. Disabled by PlaneConstrainedToggle and SetPlaneConstrainedToggle .
Created in NX8.5.0.
License requirements : None
NXOpen::Point* NXOpen::Features::GeneralConicBuilder::EndPoint | ( | ) |
Returns the end point.
Used by all point types
Created in NX8.5.0.
License requirements : None
void NXOpen::Features::GeneralConicBuilder::Evaluate | ( | ) |
Evaluates the curve.
Does not call update. Used to preview results.
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
NXOpen::GeometricUtilities::CurveExtensionBuilder* NXOpen::Features::GeneralConicBuilder::Extender | ( | ) |
Returns the extension option
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
NXOpen::Plane* NXOpen::Features::GeneralConicBuilder::GeneralDrawingPlane | ( | ) |
Returns the specify plane.
Used by point types. Disabled by PlaneConstrainedToggle and SetPlaneConstrainedToggle .
Created in NX8.5.0.
License requirements : None
NXOpen::Point* NXOpen::Features::GeneralConicBuilder::InteriorPoint1 | ( | ) |
Returns the first interior point.
Used by TypesFivePoints TypesFourPointsOneSlope ThreePointsTwoSlopes Types ThreePointsTwoSlopes TypesThreePointsAnchor
Created in NX8.5.0.
License requirements : None
NXOpen::Point* NXOpen::Features::GeneralConicBuilder::InteriorPoint2 | ( | ) |
Returns the second interior point.
Used by TypesFivePoints TypesFourPointsOneSlope
Created in NX8.5.0.
License requirements : None
NXOpen::Point* NXOpen::Features::GeneralConicBuilder::InteriorPoint3 | ( | ) |
Returns the third interior point.
Used by TypesFivePoints
Created in NX8.5.0.
License requirements : None
bool NXOpen::Features::GeneralConicBuilder::PlaneConstrainedToggle | ( | ) |
Returns the plane constrained toggle.
Used by point types. Enables ConstrainedPlaneCSYS and SetConstrainedPlaneCSYS . Disables DrawingPlaneOption and SetDrawingPlaneOption and GeneralDrawingPlane and SetGeneralDrawingPlane .
Created in NX8.5.0.
License requirements : None
double NXOpen::Features::GeneralConicBuilder::RhoValue | ( | ) |
Returns the rho value.
Used by TypesTwoPointsAnchorRho TypesTwoPointsTwoSlopesRho
Created in NX8.5.0.
License requirements : None
void NXOpen::Features::GeneralConicBuilder::SetAnchorPoint | ( | NXOpen::Point * | anchorPoint | ) |
Sets the anchor point.
Used by TypesThreePointsAnchor TypesTwoPointsAnchorRho
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
anchorPoint | anchorpoint |
void NXOpen::Features::GeneralConicBuilder::SetAssociativeToggle | ( | bool | associativeToggle | ) |
Sets the associative toggle
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
associativeToggle | associativetoggle |
void NXOpen::Features::GeneralConicBuilder::SetCoefficientCSYS | ( | NXOpen::CoordinateSystem * | coefficientCSYS | ) |
Sets the coefficient type coordinate system.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
coefficientCSYS | coefficientcsys |
void NXOpen::Features::GeneralConicBuilder::SetConstrainedPlaneCSYS | ( | NXOpen::CoordinateSystem * | constrainedPlaneCSYS | ) |
Sets the constrained plane.
Used by point types. Enabled by PlaneConstrainedToggle and SetPlaneConstrainedToggle .
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
constrainedPlaneCSYS | constrainedplanecsys |
void NXOpen::Features::GeneralConicBuilder::SetDrawingPlaneOption | ( | NXOpen::Features::GeneralConicBuilder::DrawingPlaneOptions | drawingPlaneOption | ) |
Sets the drawing plane.
Used by point types. Disabled by PlaneConstrainedToggle and SetPlaneConstrainedToggle .
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
drawingPlaneOption | drawingplaneoption |
void NXOpen::Features::GeneralConicBuilder::SetEndPoint | ( | NXOpen::Point * | endPoint | ) |
Sets the end point.
Used by all point types
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
endPoint | endpoint |
void NXOpen::Features::GeneralConicBuilder::SetGeneralDrawingPlane | ( | NXOpen::Plane * | generalDrawingPlane | ) |
Sets the specify plane.
Used by point types. Disabled by PlaneConstrainedToggle and SetPlaneConstrainedToggle .
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
generalDrawingPlane | generaldrawingplane |
void NXOpen::Features::GeneralConicBuilder::SetInteriorPoint1 | ( | NXOpen::Point * | interiorPoint1 | ) |
Sets the first interior point.
Used by TypesFivePoints TypesFourPointsOneSlope ThreePointsTwoSlopes Types ThreePointsTwoSlopes TypesThreePointsAnchor
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
interiorPoint1 | interiorpoint1 |
void NXOpen::Features::GeneralConicBuilder::SetInteriorPoint2 | ( | NXOpen::Point * | interiorPoint2 | ) |
Sets the second interior point.
Used by TypesFivePoints TypesFourPointsOneSlope
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
interiorPoint2 | interiorpoint2 |
void NXOpen::Features::GeneralConicBuilder::SetInteriorPoint3 | ( | NXOpen::Point * | interiorPoint3 | ) |
Sets the third interior point.
Used by TypesFivePoints
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
interiorPoint3 | interiorpoint3 |
void NXOpen::Features::GeneralConicBuilder::SetPlaneConstrainedToggle | ( | bool | planeConstrainedToggle | ) |
Sets the plane constrained toggle.
Used by point types. Enables ConstrainedPlaneCSYS and SetConstrainedPlaneCSYS . Disables DrawingPlaneOption and SetDrawingPlaneOption and GeneralDrawingPlane and SetGeneralDrawingPlane .
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
planeConstrainedToggle | planeconstrainedtoggle |
void NXOpen::Features::GeneralConicBuilder::SetRhoValue | ( | double | rhoValue | ) |
Sets the rho value.
Used by TypesTwoPointsAnchorRho TypesTwoPointsTwoSlopesRho
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
rhoValue | rhovalue |
void NXOpen::Features::GeneralConicBuilder::SetSlopeAtEndPoint | ( | NXOpen::Direction * | slopeAtEndPoint | ) |
Sets the slope at end point.
Used by TypesThreePointsTwoSlopes TypesTwoPointsTwoSlopesRho
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
slopeAtEndPoint | slopeatendpoint |
void NXOpen::Features::GeneralConicBuilder::SetSlopeAtStartPoint | ( | NXOpen::Direction * | slopeAtStartPoint | ) |
Sets the slope at start point.
Used by TypesFourPointsOneSlope TypesThreePointsTwoSlopes TypesTwoPointsTwoSlopesRho
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
slopeAtStartPoint | slopeatstartpoint |
void NXOpen::Features::GeneralConicBuilder::SetStartPoint | ( | NXOpen::Point * | startPoint | ) |
Sets the start point.
Used by all point types
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
startPoint | startpoint |
void NXOpen::Features::GeneralConicBuilder::SetType | ( | NXOpen::Features::GeneralConicBuilder::Types | type | ) |
Sets the conic creation type.
See Type
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
type | type |
void NXOpen::Features::GeneralConicBuilder::SetValueA | ( | double | valueA | ) |
Sets the coefficient value for a.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
valueA | valuea |
void NXOpen::Features::GeneralConicBuilder::SetValueB | ( | double | valueB | ) |
Sets the coefficient value for b.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
valueB | valueb |
void NXOpen::Features::GeneralConicBuilder::SetValueC | ( | double | valueC | ) |
Sets the coefficient value for c.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
valueC | valuec |
void NXOpen::Features::GeneralConicBuilder::SetValueD | ( | double | valueD | ) |
Sets the coefficient value for d.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
valueD | valued |
void NXOpen::Features::GeneralConicBuilder::SetValueE | ( | double | valueE | ) |
Sets the coefficient value for e.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
valueE | valuee |
void NXOpen::Features::GeneralConicBuilder::SetValueF | ( | double | valueF | ) |
Sets the coefficient value for f.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")
valueF | valuef |
NXOpen::Direction* NXOpen::Features::GeneralConicBuilder::SlopeAtEndPoint | ( | ) |
Returns the slope at end point.
Used by TypesThreePointsTwoSlopes TypesTwoPointsTwoSlopesRho
Created in NX8.5.0.
License requirements : None
NXOpen::Direction* NXOpen::Features::GeneralConicBuilder::SlopeAtStartPoint | ( | ) |
Returns the slope at start point.
Used by TypesFourPointsOneSlope TypesThreePointsTwoSlopes TypesTwoPointsTwoSlopesRho
Created in NX8.5.0.
License requirements : None
NXOpen::Point* NXOpen::Features::GeneralConicBuilder::StartPoint | ( | ) |
Returns the start point.
Used by all point types
Created in NX8.5.0.
License requirements : None
NXOpen::Features::GeneralConicBuilder::Types NXOpen::Features::GeneralConicBuilder::Type | ( | ) |
Returns the conic creation type.
See Type
Created in NX8.5.0.
License requirements : None
double NXOpen::Features::GeneralConicBuilder::ValueA | ( | ) |
Returns the coefficient value for a.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : None
double NXOpen::Features::GeneralConicBuilder::ValueB | ( | ) |
Returns the coefficient value for b.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : None
double NXOpen::Features::GeneralConicBuilder::ValueC | ( | ) |
Returns the coefficient value for c.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : None
double NXOpen::Features::GeneralConicBuilder::ValueD | ( | ) |
Returns the coefficient value for d.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : None
double NXOpen::Features::GeneralConicBuilder::ValueE | ( | ) |
Returns the coefficient value for e.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : None
double NXOpen::Features::GeneralConicBuilder::ValueF | ( | ) |
Returns the coefficient value for f.
Only used by TypesCoefficients
Created in NX8.5.0.
License requirements : None