NX Open C++ Reference Guide
|
Represents a NXOpen::SketchIntersectionCurve builder
To obtain an instance of this class use NXOpen::SketchCollection::CreateIntersectionCurveBuilder .
More...
Public Member Functions | |
void | AlternateSolution (int solutionIndex) |
Method to get the alternate solution corresponding to solutionIndex Created in NX5.0.0. More... | |
double | AngleTolerance () |
Returns the angular tolerance Created in NX5.0.0. More... | |
bool | Associative () |
Returns the associative option Created in NX11.0.0. More... | |
void | CollectorUpdated () |
This method needs to be called whenever the number of faces to intersect changes Created in NX5.0.0. More... | |
NXOpen::GeometricUtilities::CurveFitOptions * | CurveFitMethod () |
Returns the curve fit method Created in NX5.0.0. More... | |
void | CurveFitMethodUpdated () |
This method needs to be called whenever the curve fit options changes Created in NX5.0.0. More... | |
double | DistanceTolerance () |
Returns the distance tolerance Created in NX5.0.0. More... | |
NXOpen::ScCollector * | FaceCollector () |
Returns the faces to intersect Created in NX5.0.0. More... | |
void | GetOldAndNewOutputCurves (std::vector< NXOpen::NXObject * > &oldOutputCurves, std::vector< NXOpen::NXObject * > &newOutputCurves) |
Reports the old and new Intersection Curve outputs This method returns the arrays of old and new Intersection Curve outputs. More... | |
bool | IgnoreHoles () |
Returns the ignore holes option Created in NX5.0.0. More... | |
bool | JoinCurves () |
Returns the join curves option Created in NX5.0.0. More... | |
void | MapOutputCurve (NXOpen::NXObject *oldOutputCurve, NXOpen::NXObject *newOutputCurve) |
Maps old Intersection curves to new Intersection curves This method should be used to map old Intersection curve outputs to the new Intersection curve outputs during the edit of Intersection Curve. More... | |
void | SetAngleTolerance (double angleTolerance) |
Sets the angular tolerance Created in NX5.0.0. More... | |
void | SetAssociative (bool associative) |
Sets the associative option Created in NX11.0.0. More... | |
void | SetDistanceTolerance (double distanceTolerance) |
Sets the distance tolerance Created in NX5.0.0. More... | |
void | SetIgnoreHoles (bool ignoreHoles) |
Sets the ignore holes option Created in NX5.0.0. More... | |
void | SetJoinCurves (bool joinCurves) |
Sets the join curves option Created in NX5.0.0. More... | |
Public Member Functions inherited from NXOpen::Features::FeatureBuilder | |
NXOpen::Features::Feature * | CommitFeature () |
Commits the feature parameters and creates the feature. More... | |
NXOpen::Features::Feature * | GetFeature () |
Returns the feature currently being edited by this builder. More... | |
void | HideInternalParentFeatureAfterEdit (NXOpen::Features::Feature *parentFeature) |
Re-suppress an internal parent feature (a slave feature) after it has been edited. More... | |
bool | ParentFeatureInternal () |
Returns whether or not the latest timestamped parent feature of this feature should be made internal Created in NX5.0.0. More... | |
bool | PatchSolutionFlag () |
Returns the patch solution flag Created in NX8.0.1. More... | |
NXString | PatchSurfaceFilename () |
Returns the patch surface filename Created in NX8.0.1. More... | |
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. More... | |
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. More... | |
void | SetPatchSolutionFlag (bool optionValue) |
Sets the patch solution flag Created in NX8.0.1. More... | |
void | SetPatchSurfaceFilename (const NXString &surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. More... | |
void | SetPatchSurfaceFilename (const char *surfaceFilename) |
Sets the patch surface filename Created in NX8.0.1. More... | |
void | SetSurroundingPatchSurfaceFilename (const NXString &surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. More... | |
void | SetSurroundingPatchSurfaceFilename (const char *surroundingSurfaceFilename) |
Sets the surrounding patch surface filename Created in NX8.0.1. More... | |
void | ShowInternalParentFeatureForEdit (NXOpen::Features::Feature *parentFeature) |
Unsuppress an internal parent feature (a slave feature) so it can be edited. More... | |
NXString | SurroundingPatchSurfaceFilename () |
Returns the surrounding patch surface filename Created in NX8.0.1. More... | |
void | UnsetParentFeatureInternal (NXOpen::Features::Feature *parentFeature) |
Set the internal parent feature of the feature being edited to external Created in NX6.0.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a NXOpen::SketchIntersectionCurve builder
To obtain an instance of this class use NXOpen::SketchCollection::CreateIntersectionCurveBuilder .
Default values.
Property | Value |
---|---|
CurveFitMethod.FitOption |
Cubic |
CurveFitMethod.MaximumDegree |
7 |
CurveFitMethod.MaximumSegments |
1 |
Created in NX5.0.0.
void NXOpen::SketchIntersectionCurveBuilder::AlternateSolution | ( | int | solutionIndex | ) |
Method to get the alternate solution corresponding to solutionIndex
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
solutionIndex | solutionindex |
double NXOpen::SketchIntersectionCurveBuilder::AngleTolerance | ( | ) |
Returns the angular tolerance
Created in NX5.0.0.
License requirements : None
bool NXOpen::SketchIntersectionCurveBuilder::Associative | ( | ) |
Returns the associative option
Created in NX11.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
void NXOpen::SketchIntersectionCurveBuilder::CollectorUpdated | ( | ) |
This method needs to be called whenever the number of faces to intersect changes
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
NXOpen::GeometricUtilities::CurveFitOptions* NXOpen::SketchIntersectionCurveBuilder::CurveFitMethod | ( | ) |
Returns the curve fit method
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
void NXOpen::SketchIntersectionCurveBuilder::CurveFitMethodUpdated | ( | ) |
This method needs to be called whenever the curve fit options changes
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
double NXOpen::SketchIntersectionCurveBuilder::DistanceTolerance | ( | ) |
Returns the distance tolerance
Created in NX5.0.0.
License requirements : None
NXOpen::ScCollector* NXOpen::SketchIntersectionCurveBuilder::FaceCollector | ( | ) |
Returns the faces to intersect
Created in NX5.0.0.
License requirements : None
void NXOpen::SketchIntersectionCurveBuilder::GetOldAndNewOutputCurves | ( | std::vector< NXOpen::NXObject * > & | oldOutputCurves, |
std::vector< NXOpen::NXObject * > & | newOutputCurves | ||
) |
Reports the old and new Intersection Curve outputs
This method returns the arrays of old and new Intersection Curve outputs.
These are the old and new Intersection curves or points present during an edit of the feature. These curves or points should not be modified or deleted, doing so may result in part corruption and session may become unstable.
Created in NX11.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
oldOutputCurves | The array of old output curves or points. |
newOutputCurves | The array of new output curves or points. |
bool NXOpen::SketchIntersectionCurveBuilder::IgnoreHoles | ( | ) |
Returns the ignore holes option
Created in NX5.0.0.
License requirements : None
bool NXOpen::SketchIntersectionCurveBuilder::JoinCurves | ( | ) |
Returns the join curves option
Created in NX5.0.0.
License requirements : None
void NXOpen::SketchIntersectionCurveBuilder::MapOutputCurve | ( | NXOpen::NXObject * | oldOutputCurve, |
NXOpen::NXObject * | newOutputCurve | ||
) |
Maps old Intersection curves to new Intersection curves
This method should be used to map old Intersection curve outputs to the new Intersection curve outputs during the edit of Intersection Curve.
To find old and new Intersection curve outputs see documentation for SketchIntersectionCurveBuilder::GetOldAndNewOutputCurves
Created in NX11.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
oldOutputCurve | The old output curve or point which was removed and hence needs to be mapped. |
newOutputCurve | The new output curve or point that would be mapped to the old output curve or point. |
void NXOpen::SketchIntersectionCurveBuilder::SetAngleTolerance | ( | double | angleTolerance | ) |
Sets the angular tolerance
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
angleTolerance | angle tolerance |
void NXOpen::SketchIntersectionCurveBuilder::SetAssociative | ( | bool | associative | ) |
Sets the associative option
Created in NX11.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
associative | associative |
void NXOpen::SketchIntersectionCurveBuilder::SetDistanceTolerance | ( | double | distanceTolerance | ) |
Sets the distance tolerance
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
distanceTolerance | distance tolerance |
void NXOpen::SketchIntersectionCurveBuilder::SetIgnoreHoles | ( | bool | ignoreHoles | ) |
Sets the ignore holes option
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
ignoreHoles | ignore holes |
void NXOpen::SketchIntersectionCurveBuilder::SetJoinCurves | ( | bool | joinCurves | ) |
Sets the join curves option
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING") OR geometric_tol ("GDT")
joinCurves | join curves |