NX Open C++ Reference Guide
|
Represents a Draft Feature Builder that creates or edits a draft (Old name Taper) feature. More...
Public Types | |
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]. | |
NXOpen::Features::DraftBuilder::Method | DraftIsoclineOrTruedraft () |
Returns the Draft method. | |
NXOpen::ExpressionCollectorSetList * | EdgeSetAngleExpressionList () |
Returns the list of draft edges SC Collectors and corresponding draft angles. | |
NXOpen::ObjectList * | EdgeSetAngleList () |
Returns the Data object containing 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::ObjectList * | FaceSetAngleList () |
Returns the Data object containing list of draft faces SC Collectors and corresponding draft angles. | |
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 | SetDraftIsoclineOrTruedraft (NXOpen::Features::DraftBuilder::Method draftMethod) |
Sets the Draft method. | |
void | SetDraftType (NXOpen::Features::DraftBuilder::Type draftType) |
Sets the Draft type. | |
void | SetStationaryEntity (NXOpen::NXObject *stationaryEntity) |
Sets the stationary entity for draft. | |
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::Features::DraftBuilder::Type | TypeOfDraft () |
Returns the Draft type. | |
NXOpen::GeometricUtilities::DraftVariableAngleData * | VariableAngleData () |
Returns the Data object for Variable Angle Draft. |
Represents a Draft Feature Builder that creates or edits a draft (Old name Taper) feature.
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.
Returns the angle tolerance in [rad/deg].
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the smart direction for draft.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the distance tolerance in [in/mm].
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the option "Draft all instances" [true/false].
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the Draft method.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the list of draft edges SC Collectors and corresponding draft angles.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the Data object containing list of draft edges SC Collectors and corresponding draft angles.
This API is now deprecated. Please use Features::DraftBuilder::EdgeSetAngleExpressionList instead. Note that this API cannot be used together with the new API.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the list of draft faces SC Collectors and corresponding draft angles.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the Data object containing list of draft faces SC Collectors and corresponding draft angles.
This API is now deprecated. Please use Features::DraftBuilder::FaceSetAngleExpressionList instead. Note that this API cannot be used together with the new API.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
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::SetDraftIsoclineOrTruedraft | ( | NXOpen::Features::DraftBuilder::Method | draftMethod | ) |
Sets the Draft method.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
draftMethod | draft method |
Sets the Draft type.
This API is now deprecated. Please use Features::DraftBuilder::SetTypeOfDraft instead.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
draftType | Draft type |
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 |
Sets the Draft type.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
type | type |
Sets the Variable Angle option
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
Returns the stationary entity for draft.
Created in NX4.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
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")