|
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. | |
| NXString | Angle () |
| Returns the chamfer angle (expression). | |
| NXOpen::Expression * | AngleExp () |
| Returns the angle expression object of chamfer. | |
| int | CreatePreview () |
| Creates the chamfer preview body. | |
| NXString | FirstOffset () |
| Returns the first offset distance (expression). | |
| NXOpen::Expression * | FirstOffsetExp () |
| Returns the first offset expression object of chamfer. | |
| NXOpen::Features::ChamferBuilder::OffsetMethod | Method () |
| Returns the offset method. | |
| NXOpen::Features::ChamferBuilder::ChamferOption | Option () |
| Returns the chamfer parameter option. | |
| bool | ReverseOffsets () |
| Returns the offset reverse status Created in NX4.0.0. | |
| NXString | SecondOffset () |
| Returns the second offset distance (expression). | |
| NXOpen::Expression * | SecondOffsetExp () |
| Returns the second offset expression object of chamfer. | |
| void | SetAllInstances (bool allInstances) |
| Sets the chamfer all instance status Created in NX4.0.0. | |
| void | SetAngle (const NXString &angleExpression) |
| Sets the chamfer angle (expression). | |
| void | SetAngle (const char *angleExpression) |
| Sets the chamfer angle (expression). | |
| void | SetFirstOffset (const NXString &offsetExpression) |
| Sets the first offset distance (expression). | |
| void | SetFirstOffset (const char *offsetExpression) |
| Sets the first offset distance (expression). | |
| void | SetMethod (NXOpen::Features::ChamferBuilder::OffsetMethod method) |
| Sets the offset method. | |
| void | SetOption (NXOpen::Features::ChamferBuilder::ChamferOption opt) |
| Sets the chamfer parameter option. | |
| void | SetReverseOffsets (bool reverse) |
| Sets the offset reverse status Created in NX4.0.0. | |
| void | SetSecondOffset (const NXString &offsetExpression) |
| Sets the second offset distance (expression). | |
| void | SetSecondOffset (const char *offsetExpression) |
| Sets the second offset distance (expression). | |
| void | SetSmartCollector (NXOpen::ScCollector *sc) |
| Sets the smart collector Created in NX4.0.0. | |
| void | SetTolerance (double tolerance) |
| Sets the tolerance used for creating chamfer Created in NX6.0.0. | |
| NXOpen::ScCollector * | SmartCollector () |
| Returns the smart collector Created in NX4.0.0. | |
| double | Tolerance () |
| Returns the tolerance used for creating chamfer Created in NX6.0.0. | |
Public Member Functions inherited from NXOpen::Features::FeatureBuilder | |
| 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. | |
Public Member Functions inherited from NXOpen::Builder | |
| 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. | |
Public Member Functions inherited from NXOpen::TaggedObject | |
| tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents the chamfer builder data.
To create a new instance of this class, use 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.
<br>
@link Features::ChamferBuilder::ChamferOptionSymmetricOffsets Features::ChamferBuilder::ChamferOptionSymmetricOffsets@endlink
@link Features::ChamferBuilder::ChamferOptionTwoOffsets Features::ChamferBuilder::ChamferOptionTwoOffsets@endlink
@link Features::ChamferBuilder::ChamferOptionOffsetAndAngle Features::ChamferBuilder::ChamferOptionOffsetAndAngle@endlink
<br>
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.
<br>
@link Features::ChamferBuilder::ChamferOptionSymmetricOffsets Features::ChamferBuilder::ChamferOptionSymmetricOffsets@endlink
@link Features::ChamferBuilder::ChamferOptionTwoOffsets Features::ChamferBuilder::ChamferOptionTwoOffsets@endlink
@link Features::ChamferBuilder::ChamferOptionOffsetAndAngle Features::ChamferBuilder::ChamferOptionOffsetAndAngle@endlink
<br>
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