NX Open C++ Reference Guide
|
Represents a Features::JoinCurves builder. More...
Public Types | |
enum | OutputCurve { OutputCurveGeneral, OutputCurveCubic, OutputCurveQuintic, OutputCurveAdvanced } |
Represents the output curve type. More... | |
Public Member Functions | |
double | AngleTolerance () |
Returns the angle tolerance. | |
NXOpen::GeometricUtilities::CurveOptions * | CurveOptions () |
Returns the Curve Options. | |
double | DistanceTolerance () |
Returns the distance tolerance. | |
int | MaximumDegree () |
Returns the maximum degree of the advanced spline output. | |
int | MaximumSegments () |
Returns the maximum number of segments of the advanced spline output. | |
NXOpen::Features::JoinCurvesBuilder::OutputCurve | OutputCurveType () |
Returns the output curve type. | |
NXOpen::Section * | Section () |
Returns the section that collects the input curves that are to be joined. | |
void | SetAngleTolerance (double angleTolerance) |
Sets the angle tolerance. | |
void | SetDistanceTolerance (double distanceTolerance) |
Sets the distance tolerance. | |
void | SetMaximumDegree (int maximumDegree) |
Sets the maximum degree of the advanced spline output. | |
void | SetMaximumSegments (int maximumSegments) |
Sets the maximum number of segments of the advanced spline output. | |
void | SetOutputCurveType (NXOpen::Features::JoinCurvesBuilder::OutputCurve outputCurveType) |
Sets the output curve type. | |
![]() | |
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 Features::JoinCurves builder.
<br> To create a new instance of this class, use @link Features::FeatureCollection::CreateJoinCurvesBuilder Features::FeatureCollection::CreateJoinCurvesBuilder @endlink <br>
Default values.
Property | Value |
---|---|
OutputCurveType |
General |
Created in NX5.0.0.
double NXOpen::Features::JoinCurvesBuilder::AngleTolerance | ( | ) |
Returns the angle tolerance.
This tolerance is used while creating the joined curve. The same tolerance is also applied to the section.
Created in NX5.0.0.
License requirements : None
NXOpen::GeometricUtilities::CurveOptions* NXOpen::Features::JoinCurvesBuilder::CurveOptions | ( | ) |
This object contains the data about the associativity and corresponding action on the input curves. A feature is created only if the associativity is switched ON and the input curves can not be deleted or replaced.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
double NXOpen::Features::JoinCurvesBuilder::DistanceTolerance | ( | ) |
Returns the distance tolerance.
This tolerance is used while creating the joined curve. The same tolerance is also applied to the section.
Created in NX5.0.0.
License requirements : None
int NXOpen::Features::JoinCurvesBuilder::MaximumDegree | ( | ) |
Returns the maximum degree of the advanced spline output.
This integer is only used in cases where the output curve option is set to advanced type.
Created in NX5.0.0.
License requirements : None
int NXOpen::Features::JoinCurvesBuilder::MaximumSegments | ( | ) |
Returns the maximum number of segments of the advanced spline output.
This integer is only used in cases where the output curve option is set to advanced type.
Created in NX5.0.0.
License requirements : None
NXOpen::Features::JoinCurvesBuilder::OutputCurve NXOpen::Features::JoinCurvesBuilder::OutputCurveType | ( | ) |
Returns the output curve type.
If the output curve type is advaned, the maximum degree for output spline and maximum number of segments should also be provided.
Created in NX5.0.0.
License requirements : None
NXOpen::Section* NXOpen::Features::JoinCurvesBuilder::Section | ( | ) |
Returns the section that collects the input curves that are to be joined.
Multiple loops or self intersecting curves should not be added to the section.
Created in NX5.0.0.
License requirements : None
void NXOpen::Features::JoinCurvesBuilder::SetAngleTolerance | ( | double | angleTolerance | ) |
Sets the angle tolerance.
This tolerance is used while creating the joined curve. The same tolerance is also applied to the section.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
angleTolerance | angletolerance |
void NXOpen::Features::JoinCurvesBuilder::SetDistanceTolerance | ( | double | distanceTolerance | ) |
Sets the distance tolerance.
This tolerance is used while creating the joined curve. The same tolerance is also applied to the section.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
distanceTolerance | distancetolerance |
void NXOpen::Features::JoinCurvesBuilder::SetMaximumDegree | ( | int | maximumDegree | ) |
Sets the maximum degree of the advanced spline output.
This integer is only used in cases where the output curve option is set to advanced type.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
maximumDegree | maximumdegree |
void NXOpen::Features::JoinCurvesBuilder::SetMaximumSegments | ( | int | maximumSegments | ) |
Sets the maximum number of segments of the advanced spline output.
This integer is only used in cases where the output curve option is set to advanced type.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
maximumSegments | maximumsegments |
void NXOpen::Features::JoinCurvesBuilder::SetOutputCurveType | ( | NXOpen::Features::JoinCurvesBuilder::OutputCurve | outputCurveType | ) |
Sets the output curve type.
If the output curve type is advaned, the maximum degree for output spline and maximum number of segments should also be provided.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR cam_base ("CAM BASE")
outputCurveType | outputcurvetype |