NX Open C++ Reference Guide
|
Represents the chamfer builder data. More...
Public Types | |
enum | ChamferOption { ChamferOptionSymmetricOffsets, ChamferOptionTwoOffsets, ChamferOptionOffsetAndAngle } |
This enum represents the chamfer parameter options. More... | |
enum | OffsetMethod { OffsetMethodEdgesAlongFaces, OffsetMethodFacesAndTrim } |
This enum represents the offset method options. More... | |
Public Member Functions | |
bool | AllInstances () |
Returns the chamfer all instance status Created in NX4.0.0. More... | |
NXString | Angle () |
Returns the chamfer angle (expression). More... | |
NXOpen::Expression * | AngleExp () |
Returns the angle expression object of chamfer. More... | |
int | CreatePreview () |
Creates the chamfer preview body. More... | |
NXString | FirstOffset () |
Returns the first offset distance (expression). More... | |
NXOpen::Expression * | FirstOffsetExp () |
Returns the first offset expression object of chamfer. More... | |
NXOpen::Features::ChamferBuilder::OffsetMethod | Method () |
Returns the offset method. More... | |
NXOpen::Features::ChamferBuilder::ChamferOption | Option () |
Returns the chamfer parameter option. More... | |
bool | ReverseOffsets () |
Returns the offset reverse status Created in NX4.0.0. More... | |
NXString | SecondOffset () |
Returns the second offset distance (expression). More... | |
NXOpen::Expression * | SecondOffsetExp () |
Returns the second offset expression object of chamfer. More... | |
void | SetAllInstances (bool allInstances) |
Sets the chamfer all instance status Created in NX4.0.0. More... | |
void | SetAngle (const NXString &angleExpression) |
Sets the chamfer angle (expression). More... | |
void | SetAngle (const char *angleExpression) |
Sets the chamfer angle (expression). More... | |
void | SetFirstOffset (const NXString &offsetExpression) |
Sets the first offset distance (expression). More... | |
void | SetFirstOffset (const char *offsetExpression) |
Sets the first offset distance (expression). More... | |
void | SetMethod (NXOpen::Features::ChamferBuilder::OffsetMethod method) |
Sets the offset method. More... | |
void | SetOption (NXOpen::Features::ChamferBuilder::ChamferOption opt) |
Sets the chamfer parameter option. More... | |
void | SetReverseOffsets (bool reverse) |
Sets the offset reverse status Created in NX4.0.0. More... | |
void | SetSecondOffset (const NXString &offsetExpression) |
Sets the second offset distance (expression). More... | |
void | SetSecondOffset (const char *offsetExpression) |
Sets the second offset distance (expression). More... | |
void | SetSmartCollector (NXOpen::ScCollector *sc) |
Sets the smart collector Created in NX4.0.0. More... | |
void | SetTolerance (double tolerance) |
Sets the tolerance used for creating chamfer Created in NX6.0.0. More... | |
NXOpen::ScCollector * | SmartCollector () |
Returns the smart collector Created in NX4.0.0. More... | |
double | Tolerance () |
Returns the tolerance used for creating chamfer Created in NX6.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 the chamfer builder data.
To create a new instance of this class, use NXOpen::Features::FeatureCollection::CreateChamferBuilder
Created in NX4.0.0.
bool NXOpen::Features::ChamferBuilder::AllInstances | ( | ) |
Returns the chamfer all instance status
Created in NX4.0.0.
License requirements : None
NXString NXOpen::Features::ChamferBuilder::Angle | ( | ) |
Returns the chamfer angle (expression).
Please do not use this property to access/modify the Features::ChamferBuilder::AngleExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ChamferBuilder::AngleExp | ( | ) |
Returns the angle expression object of chamfer.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
int NXOpen::Features::ChamferBuilder::CreatePreview | ( | ) |
Creates the chamfer preview body.
NXString NXOpen::Features::ChamferBuilder::FirstOffset | ( | ) |
Returns the first offset distance (expression).
Please do not use this property to access/modify the Features::ChamferBuilder::FirstOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ChamferBuilder::FirstOffsetExp | ( | ) |
Returns the first offset expression object of chamfer.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
NXOpen::Features::ChamferBuilder::OffsetMethod NXOpen::Features::ChamferBuilder::Method | ( | ) |
Returns the offset method.
Features::ChamferBuilder::OffsetMethodEdgesAlongFaces Features::ChamferBuilder::OffsetMethodFacesAndTrim
The EdgesAlongFaces method is the normal chamfer in which the chamfer boundary is determined by offsetting the input edges along its adjacent faces. The FacesAndTrim method is the free-form chamfer in which the chamfer boundary is determined by offsetting the adjacent faces of the input edges, using the chamfer parameters in either case.
Created in NX4.0.0.
License requirements : None
NXOpen::Features::ChamferBuilder::ChamferOption NXOpen::Features::ChamferBuilder::Option | ( | ) |
Returns the chamfer parameter option.
Features::ChamferBuilder::ChamferOptionSymmetricOffsets Features::ChamferBuilder::ChamferOptionTwoOffsets Features::ChamferBuilder::ChamferOptionOffsetAndAngle
Each of these options correspond to a chamfer defined by two equal offset distances, two unequal offset distances, an offset distance and angle respectively.
Created in NX4.0.0.
License requirements : None
bool NXOpen::Features::ChamferBuilder::ReverseOffsets | ( | ) |
Returns the offset reverse status
Created in NX4.0.0.
License requirements : None
NXString NXOpen::Features::ChamferBuilder::SecondOffset | ( | ) |
Returns the second offset distance (expression).
Please do not use this property to access/modify the Features::ChamferBuilder::SecondOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.
License requirements : None
NXOpen::Expression* NXOpen::Features::ChamferBuilder::SecondOffsetExp | ( | ) |
Returns the second offset expression object of chamfer.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
void NXOpen::Features::ChamferBuilder::SetAllInstances | ( | bool | allInstances | ) |
Sets the chamfer all instance status
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
allInstances | all instances |
void NXOpen::Features::ChamferBuilder::SetAngle | ( | const NXString & | angleExpression | ) |
Sets the chamfer angle (expression).
Please do not use this property to access/modify the Features::ChamferBuilder::AngleExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
angleExpression | angle expression |
void NXOpen::Features::ChamferBuilder::SetAngle | ( | const char * | angleExpression | ) |
Sets the chamfer angle (expression).
Please do not use this property to access/modify the Features::ChamferBuilder::AngleExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
angleExpression | angle expression |
void NXOpen::Features::ChamferBuilder::SetFirstOffset | ( | const NXString & | offsetExpression | ) |
Sets the first offset distance (expression).
Please do not use this property to access/modify the Features::ChamferBuilder::FirstOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
offsetExpression | offset expression |
void NXOpen::Features::ChamferBuilder::SetFirstOffset | ( | const char * | offsetExpression | ) |
Sets the first offset distance (expression).
Please do not use this property to access/modify the Features::ChamferBuilder::FirstOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
offsetExpression | offset expression |
void NXOpen::Features::ChamferBuilder::SetMethod | ( | NXOpen::Features::ChamferBuilder::OffsetMethod | method | ) |
Sets the offset method.
Features::ChamferBuilder::OffsetMethodEdgesAlongFaces Features::ChamferBuilder::OffsetMethodFacesAndTrim
The EdgesAlongFaces method is the normal chamfer in which the chamfer boundary is determined by offsetting the input edges along its adjacent faces. The FacesAndTrim method is the free-form chamfer in which the chamfer boundary is determined by offsetting the adjacent faces of the input edges, using the chamfer parameters in either case.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
method | method |
void NXOpen::Features::ChamferBuilder::SetOption | ( | NXOpen::Features::ChamferBuilder::ChamferOption | opt | ) |
Sets the chamfer parameter option.
Features::ChamferBuilder::ChamferOptionSymmetricOffsets Features::ChamferBuilder::ChamferOptionTwoOffsets Features::ChamferBuilder::ChamferOptionOffsetAndAngle
Each of these options correspond to a chamfer defined by two equal offset distances, two unequal offset distances, an offset distance and angle respectively.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
opt | opt |
void NXOpen::Features::ChamferBuilder::SetReverseOffsets | ( | bool | reverse | ) |
Sets the offset reverse status
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
reverse | reverse |
void NXOpen::Features::ChamferBuilder::SetSecondOffset | ( | const NXString & | offsetExpression | ) |
Sets the second offset distance (expression).
Please do not use this property to access/modify the Features::ChamferBuilder::SecondOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
offsetExpression | offset expression |
void NXOpen::Features::ChamferBuilder::SetSecondOffset | ( | const char * | offsetExpression | ) |
Sets the second offset distance (expression).
Please do not use this property to access/modify the Features::ChamferBuilder::SecondOffsetExp . This might be removed from KF bindings in NX 9.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
offsetExpression | offset expression |
void NXOpen::Features::ChamferBuilder::SetSmartCollector | ( | NXOpen::ScCollector * | sc | ) |
Sets the smart collector
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
sc | sc |
void NXOpen::Features::ChamferBuilder::SetTolerance | ( | double | tolerance | ) |
Sets the tolerance used for creating chamfer
Created in NX6.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
tolerance | tolerance |
NXOpen::ScCollector* NXOpen::Features::ChamferBuilder::SmartCollector | ( | ) |
Returns the smart collector
Created in NX4.0.0.
License requirements : None
double NXOpen::Features::ChamferBuilder::Tolerance | ( | ) |
Returns the tolerance used for creating chamfer
Created in NX6.0.0.
License requirements : None