NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Features::DraftBuilder Class Reference

Represents a Draft Feature Builder that creates or edits a draft (Old name Taper) feature. More...

Inheritance diagram for NXOpen::Features::DraftBuilder:
NXOpen::Features::FeatureBuilder NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

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::DirectionDirection ()
 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::ExpressionCollectorSetListEdgeSetAngleExpressionList ()
 Returns the list of draft edges SC Collectors and corresponding draft angles.
NXOpen::ObjectListEdgeSetAngleList ()
 Returns the Data object containing list of draft edges SC Collectors and corresponding draft angles.
NXOpen::ExpressionCollectorSetListFaceSetAngleExpressionList ()
 Returns the list of draft faces SC Collectors and corresponding draft angles.
NXOpen::ObjectListFaceSetAngleList ()
 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::NXObjectStationaryEntity ()
 Returns the stationary entity for draft.
NXOpen::Features::DraftBuilder::Type TypeOfDraft ()
 Returns the Draft type.
NXOpen::GeometricUtilities::DraftVariableAngleDataVariableAngleData ()
 Returns the Data object for Variable Angle Draft.

Detailed Description

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.


Member Enumeration Documentation

Describes the Draft type as true draft or isocline draft.

Enumerator:
MethodIsocline 

Indicates use of isocline algorithm to create draft.

Default value.

MethodTrueDraft 

Indicates use of true draft algorithm to create draft.

Describes the different Draft types.

Enumerator:
TypeFace 

Face Draft type.

TypeEdge 

From Edges type.

TypeTangent 

Tangent Draft type.

TypePartingEdge 

Draft with Parting Edges type.


Member Function Documentation

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.


Deprecated:
Deprecated in NX5.0.0.


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.


Deprecated:
Deprecated in NX5.0.0.


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")

Parameters:
angleToleranceangle tolerance

Sets the smart direction for draft.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
directiondirection
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")

Parameters:
distanceTolerancedistance 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")

Parameters:
draftAllInstancesdraft all instances

Sets the Draft method.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
draftMethoddraft method

Sets the Draft type.


This API is now deprecated. Please use Features::DraftBuilder::SetTypeOfDraft instead.


Deprecated:
Deprecated in NX5.0.0.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
draftTypeDraft type

Sets the stationary entity for draft.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
stationaryEntitystationary entity

Sets the Draft type.


Created in NX5.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
typetype

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")

Returns the Data object for Variable Angle Draft.


Created in NX4.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.