NX Open C++ Reference Guide
|
Represents a Die::CompensateRoughDataBuilder . More...
Public Types | |
enum | ApproximationType { ApproximationTypeCoarse, ApproximationTypeRough, ApproximationTypeFine, ApproximationTypeExact } |
Settings for the amount of approximation to perform. More... | |
enum | Types { TypesSheetBody, TypesCurve } |
Settings for the type of data being compensated. More... | |
Public Member Functions | |
double | AngleTolerance () |
Returns the angle tolerance. | |
NXOpen::Die::CompensateRoughDataBuilder::ApproximationType | Approximation () |
Returns the approximation desired. | |
NXOpen::Section * | CurveCollector () |
Returns the curve collector containing the curves that will be approximated. | |
double | DistanceTolerance () |
Returns the distance tolerance. | |
bool | JoinOutputCurves () |
Returns the join output curves setting, true indicates that the output curves will be joined into a single curve. | |
double | MaximumGap () |
Returns the maximum gap. | |
bool | ModifyInputSheet () |
Returns the modify input sheet setting. | |
NXOpen::ScCollector * | ProjectToFaces () |
Returns the faces to project the output curves onto. | |
void | SetAngleTolerance (double angleTolerance) |
Sets the angle tolerance. | |
void | SetApproximation (NXOpen::Die::CompensateRoughDataBuilder::ApproximationType approximation) |
Sets the approximation desired. | |
void | SetDistanceTolerance (double distanceTolerance) |
Sets the distance tolerance. | |
void | SetJoinOutputCurves (bool joinOutputCurves) |
Sets the join output curves setting, true indicates that the output curves will be joined into a single curve. | |
void | SetMaximumGap (double maximumGap) |
Sets the maximum gap. | |
void | SetModifyInputSheet (bool modifyInputSheet) |
Sets the modify input sheet setting. | |
void | SetType (NXOpen::Die::CompensateRoughDataBuilder::Types type) |
Sets the type of input data being supplied. | |
NXOpen::SelectBodyList * | SheetBodies () |
Returns the sheet bodies that will be approximated. | |
NXOpen::Die::CompensateRoughDataBuilder::Types | Type () |
Returns the type of input data being supplied. | |
![]() | |
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 Die::CompensateRoughDataBuilder .
This class is used to edit and create a Compensate Rough Curve or Compensate Rough Sheet feature.
To create a new instance of this class, use Die::DieCollection::CompensateRoughData
Default values.
Property | Value |
---|---|
AngleTolerance |
0.5 |
Approximation |
Coarse |
DistanceTolerance |
0.0254 (millimeters part), 0.001 (inches part) |
JoinOutputCurves |
0 |
MaximumGap |
5.0 (millimeters part), 0.2 (inches part) |
ModifyInputSheet |
0 |
Created in NX6.0.0.
double NXOpen::Die::CompensateRoughDataBuilder::AngleTolerance | ( | ) |
Returns the angle tolerance.
Created in NX6.0.0.
License requirements : None
NXOpen::Die::CompensateRoughDataBuilder::ApproximationType NXOpen::Die::CompensateRoughDataBuilder::Approximation | ( | ) |
Returns the approximation desired.
Created in NX6.0.0.
License requirements : None
NXOpen::Section* NXOpen::Die::CompensateRoughDataBuilder::CurveCollector | ( | ) |
Returns the curve collector containing the curves that will be approximated.
Created in NX6.0.0.
License requirements : None
double NXOpen::Die::CompensateRoughDataBuilder::DistanceTolerance | ( | ) |
Returns the distance tolerance.
Created in NX6.0.0.
License requirements : None
bool NXOpen::Die::CompensateRoughDataBuilder::JoinOutputCurves | ( | ) |
Returns the join output curves setting, true indicates that the output curves will be joined into a single curve.
Created in NX6.0.0.
License requirements : None
double NXOpen::Die::CompensateRoughDataBuilder::MaximumGap | ( | ) |
Returns the maximum gap.
Created in NX6.0.0.
License requirements : None
bool NXOpen::Die::CompensateRoughDataBuilder::ModifyInputSheet | ( | ) |
Returns the modify input sheet setting.
If true the input sheet will be modified, otherwise a new sheet will be created.
Created in NX6.0.0.
License requirements : None
NXOpen::ScCollector* NXOpen::Die::CompensateRoughDataBuilder::ProjectToFaces | ( | ) |
Returns the faces to project the output curves onto.
If faces are selected then the output curves will be projected normal to these faces.
Created in NX6.0.0.
License requirements : None
void NXOpen::Die::CompensateRoughDataBuilder::SetAngleTolerance | ( | double | angleTolerance | ) |
Sets the angle tolerance.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
angleTolerance | angletolerance |
void NXOpen::Die::CompensateRoughDataBuilder::SetApproximation | ( | NXOpen::Die::CompensateRoughDataBuilder::ApproximationType | approximation | ) |
Sets the approximation desired.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
approximation | approximation |
void NXOpen::Die::CompensateRoughDataBuilder::SetDistanceTolerance | ( | double | distanceTolerance | ) |
Sets the distance tolerance.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
distanceTolerance | distancetolerance |
void NXOpen::Die::CompensateRoughDataBuilder::SetJoinOutputCurves | ( | bool | joinOutputCurves | ) |
Sets the join output curves setting, true indicates that the output curves will be joined into a single curve.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
joinOutputCurves | joinoutputcurves |
void NXOpen::Die::CompensateRoughDataBuilder::SetMaximumGap | ( | double | maximumGap | ) |
Sets the maximum gap.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
maximumGap | maximumgap |
void NXOpen::Die::CompensateRoughDataBuilder::SetModifyInputSheet | ( | bool | modifyInputSheet | ) |
Sets the modify input sheet setting.
If true the input sheet will be modified, otherwise a new sheet will be created.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
modifyInputSheet | modifyinputsheet |
void NXOpen::Die::CompensateRoughDataBuilder::SetType | ( | NXOpen::Die::CompensateRoughDataBuilder::Types | type | ) |
Sets the type of input data being supplied.
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
type | type |
NXOpen::SelectBodyList* NXOpen::Die::CompensateRoughDataBuilder::SheetBodies | ( | ) |
Returns the sheet bodies that will be approximated.
Created in NX6.0.0.
License requirements : None
NXOpen::Die::CompensateRoughDataBuilder::Types NXOpen::Die::CompensateRoughDataBuilder::Type | ( | ) |
Returns the type of input data being supplied.
Created in NX6.0.0.
License requirements : None