NX Open C++ Reference Guide
|
Represents a Draft Feature Builder that creates or edits a draft (Old name Taper) feature. More...
Public Types | |
enum | DraftReferencesMethods { DraftReferencesMethodsStationaryFace, DraftReferencesMethodsPartingFace, DraftReferencesMethodsStationaryAndPartingFace } |
Describes the different Draft Methods in Draft References. More... | |
enum | Method { MethodIsocline, MethodTrueDraft } |
Describes the Draft type as true draft or isocline draft. More... | |
enum | Type { TypeFace, TypeEdge, TypeTangent, TypePartingEdge } |
Describes the different Draft types. More... | |
Public Member Functions | |
double | AngleTolerance () |
Returns the angle tolerance in [rad/deg]. | |
NXOpen::Direction * | Direction () |
Returns the smart direction for draft. | |
double | DistanceTolerance () |
Returns the distance tolerance in [in/mm]. | |
bool | DraftAllInstances () |
Returns the option "Draft all instances" [true/false]. | |
bool | DraftBothSides () |
Returns whether to draft on both sides of the reference Created in NX8.5.0. | |
NXOpen::Features::DraftBuilder::Method | DraftIsoclineOrTruedraft () |
Returns the Draft method. | |
NXOpen::Features::DraftBuilder::DraftReferencesMethods | DraftReferencesMethod () |
Returns the draft references method Created in NX8.5.0. | |
NXOpen::ExpressionCollectorSetList * | EdgeSetAngleExpressionList () |
Returns the list of draft edges SC Collectors and corresponding draft angles. | |
NXOpen::ExpressionCollectorSetList * | FaceSetAngleExpressionList () |
Returns the list of draft faces SC Collectors and corresponding draft angles. | |
NXOpen::ScCollector * | PartingReference () |
Returns the parting reference as SC Collector containing only faces or only one datum plane or only one point. | |
void | SetAngleTolerance (double angleTolerance) |
Sets the angle tolerance in [rad/deg]. | |
void | SetDirection (NXOpen::Direction *direction) |
Sets the smart direction for draft. | |
void | SetDistanceTolerance (double distanceTolerance) |
Sets the distance tolerance in [in/mm]. | |
void | SetDraftAllInstances (bool draftAllInstances) |
Sets the option "Draft all instances" [true/false]. | |
void | SetDraftBothSides (bool draftBothSides) |
Sets whether to draft on both sides of the reference Created in NX8.5.0. | |
void | SetDraftIsoclineOrTruedraft (NXOpen::Features::DraftBuilder::Method draftMethod) |
Sets the Draft method. | |
void | SetDraftReferencesMethod (NXOpen::Features::DraftBuilder::DraftReferencesMethods draftReferencesMethod) |
Sets the draft references method Created in NX8.5.0. | |
void | SetStationaryEntity (NXOpen::NXObject *stationaryEntity) |
Sets the stationary entity for draft. | |
void | SetSymmetricAngle (bool symmetricAngle) |
Sets whether draft angles on both sides of the parting reference are symmetric Created in NX8.5.0. | |
void | SetTypeOfDraft (NXOpen::Features::DraftBuilder::Type type) |
Sets the Draft type. | |
void | SetVariableAngleOption () |
Sets the Variable Angle option Created in NX4.0.0. | |
NXOpen::NXObject * | StationaryEntity () |
Returns the stationary entity for draft. | |
NXOpen::ScCollector * | StationaryPartingReference () |
Returns the stationary parting reference as SC Collector containing only faces or only one datum plane or only one point Note that DraftBuilder.StationaryPartingReference and DraftBuilder.PartingReference refer to the same collector. | |
NXOpen::ScCollector * | StationaryReference () |
Returns the stationary reference as SC Collector containing only faces or only one datum plane or only one point Created in NX8.5.0. | |
bool | SymmetricAngle () |
Returns whether draft angles on both sides of the parting reference are symmetric Created in NX8.5.0. | |
NXOpen::GeometricUtilities::TwoExpressionsCollectorSetList * | TwoDimensionFaceSetsData () |
Returns the list of draft faces SC Collectors and corresponding draft angles above and below the parting reference. | |
NXOpen::Features::DraftBuilder::Type | TypeOfDraft () |
Returns the Draft type. | |
NXOpen::GeometricUtilities::DraftVariableAngleData * | VariableAngleData () |
Returns the Data object for Variable Angle Draft. | |
![]() | |
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 Draft Feature Builder that creates or edits a draft (Old name Taper) feature.
<br>
This class provides methods to set and get various Draft feature parameters and input entities.
Following are default values and options.
Direction Z direction
Draft method Features::DraftBuilder::MethodIsocline
Draft All instances true
Angle tolerance 0.002/0.1 [rad/deg]
Distance tolerance 0.004/0.1 [in/mm]
To create a new instance of this class, use Features::FeatureCollection::CreateDraftBuilder
Created in NX4.0.0.
Describes the Draft type as true draft or isocline draft.
double NXOpen::Features::DraftBuilder::AngleTolerance | ( | ) |
Returns the angle tolerance in [rad/deg].
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
NXOpen::Direction* NXOpen::Features::DraftBuilder::Direction | ( | ) |
Returns the smart direction for draft.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
double NXOpen::Features::DraftBuilder::DistanceTolerance | ( | ) |
Returns the distance tolerance in [in/mm].
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
bool NXOpen::Features::DraftBuilder::DraftAllInstances | ( | ) |
Returns the option "Draft all instances" [true/false].
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
bool NXOpen::Features::DraftBuilder::DraftBothSides | ( | ) |
Returns whether to draft on both sides of the reference
Created in NX8.5.0.
License requirements : None
NXOpen::Features::DraftBuilder::Method NXOpen::Features::DraftBuilder::DraftIsoclineOrTruedraft | ( | ) |
Returns the Draft method.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
NXOpen::Features::DraftBuilder::DraftReferencesMethods NXOpen::Features::DraftBuilder::DraftReferencesMethod | ( | ) |
Returns the draft references method
Created in NX8.5.0.
License requirements : None
NXOpen::ExpressionCollectorSetList* NXOpen::Features::DraftBuilder::EdgeSetAngleExpressionList | ( | ) |
Returns the list of draft edges SC Collectors and corresponding draft angles.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
NXOpen::ExpressionCollectorSetList* NXOpen::Features::DraftBuilder::FaceSetAngleExpressionList | ( | ) |
Returns the list of draft faces SC Collectors and corresponding draft angles.
<br> If the Draft is From Plane or Surface, use @link Features::DraftBuilder::TwoDimensionFaceSetsData Features::DraftBuilder::TwoDimensionFaceSetsData@endlink instead. <br>
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
NXOpen::ScCollector* NXOpen::Features::DraftBuilder::PartingReference | ( | ) |
Returns the parting reference as SC Collector containing only faces or only one datum plane or only one point.
Note that DraftBuilder.StationaryPartingReference and DraftBuilder.PartingReference refer to the same collector.
Created in NX9.0.0.
License requirements : None
void NXOpen::Features::DraftBuilder::SetAngleTolerance | ( | double | angleTolerance | ) |
Sets the angle tolerance in [rad/deg].
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
angleTolerance | angle tolerance |
void NXOpen::Features::DraftBuilder::SetDirection | ( | NXOpen::Direction * | direction | ) |
Sets the smart direction for draft.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
direction | direction |
void NXOpen::Features::DraftBuilder::SetDistanceTolerance | ( | double | distanceTolerance | ) |
Sets the distance tolerance in [in/mm].
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
distanceTolerance | distance tolerance |
void NXOpen::Features::DraftBuilder::SetDraftAllInstances | ( | bool | draftAllInstances | ) |
Sets the option "Draft all instances" [true/false].
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
draftAllInstances | draft all instances |
void NXOpen::Features::DraftBuilder::SetDraftBothSides | ( | bool | draftBothSides | ) |
Sets whether to draft on both sides of the reference
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
draftBothSides | draft both sides |
void NXOpen::Features::DraftBuilder::SetDraftIsoclineOrTruedraft | ( | NXOpen::Features::DraftBuilder::Method | draftMethod | ) |
Sets the Draft method.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
draftMethod | draft method |
void NXOpen::Features::DraftBuilder::SetDraftReferencesMethod | ( | NXOpen::Features::DraftBuilder::DraftReferencesMethods | draftReferencesMethod | ) |
Sets the draft references method
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
draftReferencesMethod | draft references method |
void NXOpen::Features::DraftBuilder::SetStationaryEntity | ( | NXOpen::NXObject * | stationaryEntity | ) |
Sets the stationary entity for draft.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
stationaryEntity | stationary entity |
void NXOpen::Features::DraftBuilder::SetSymmetricAngle | ( | bool | symmetricAngle | ) |
Sets whether draft angles on both sides of the parting reference are symmetric
Created in NX8.5.0.
License requirements : solid_modeling ("SOLIDS MODELING")
symmetricAngle | symmetric angle |
void NXOpen::Features::DraftBuilder::SetTypeOfDraft | ( | NXOpen::Features::DraftBuilder::Type | type | ) |
Sets the Draft type.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
type | type |
void NXOpen::Features::DraftBuilder::SetVariableAngleOption | ( | ) |
Sets the Variable Angle option
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
NXOpen::NXObject* NXOpen::Features::DraftBuilder::StationaryEntity | ( | ) |
Returns the stationary entity for draft.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
NXOpen::ScCollector* NXOpen::Features::DraftBuilder::StationaryPartingReference | ( | ) |
Returns the stationary parting reference as SC Collector containing only faces or only one datum plane or only one point Note that DraftBuilder.StationaryPartingReference and DraftBuilder.PartingReference refer to the same collector.
Created in NX8.5.0.
License requirements : None
NXOpen::ScCollector* NXOpen::Features::DraftBuilder::StationaryReference | ( | ) |
Returns the stationary reference as SC Collector containing only faces or only one datum plane or only one point
Created in NX8.5.0.
License requirements : None
bool NXOpen::Features::DraftBuilder::SymmetricAngle | ( | ) |
Returns whether draft angles on both sides of the parting reference are symmetric
Created in NX8.5.0.
License requirements : None
NXOpen::GeometricUtilities::TwoExpressionsCollectorSetList* NXOpen::Features::DraftBuilder::TwoDimensionFaceSetsData | ( | ) |
Returns the list of draft faces SC Collectors and corresponding draft angles above and below the parting reference.
Created in NX8.5.0.
License requirements : None
NXOpen::Features::DraftBuilder::Type NXOpen::Features::DraftBuilder::TypeOfDraft | ( | ) |
Returns the Draft type.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
NXOpen::GeometricUtilities::DraftVariableAngleData* NXOpen::Features::DraftBuilder::VariableAngleData | ( | ) |
Returns the Data object for Variable Angle Draft.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")