NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Features::DraftBodyBuilder Class Reference

Represents a NXOpen::Features::DraftBody builder
To create a new instance of this class, use NXOpen::Features::FeatureCollection::CreateDraftBodyBuilder
Default values. More...

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

Public Types

enum  MatchingScope { MatchingScopeAll, MatchingScopeAllButSelected }
 Describes the different match scopes. More...
 
enum  MatchingType { MatchingTypeNone, MatchingTypeToIsocline, MatchingTypeTangentToFace, MatchingTypeFromEdges }
 Describes the different match types. More...
 
enum  MatchOption { MatchOptionNone, MatchOptionAll, MatchOptionAllButSelected }
 Describes the different match options. More...
 
enum  Method { MethodIsocline, MethodTrueDraft }
 Describes the Draft Body method as true draft or isocline draft. More...
 
enum  RepairingPartingEdgeOption { RepairingPartingEdgeOptionNone, RepairingPartingEdgeOptionWithFillet, RepairingPartingEdgeOptionWithLineAndFillet }
 Describes the different repair parting edges options. More...
 
enum  RepairOption { RepairOptionNone, RepairOptionBlends, RepairOptionPlanes, RepairOptionBoth }
 Describes the different repair options. More...
 
enum  Types { TypesEdges, TypesFaces }
 Describes the different Draft Body types. More...
 

Public Member Functions

NXOpen::ExpressionDraftAngle ()
 Returns the draft angle
Created in NX5.0.0. More...
 
NXOpen::Features::DraftBodyBuilder::Method DraftMethod ()
 Returns the draft method
Created in NX5.0.0. More...
 
NXOpen::DirectionDrawDirection ()
 Returns the draw direction
Created in NX5.0.0. More...
 
NXOpen::ScCollectorEdgesToMoveToDraftedFace ()
 Returns the edges to move to drafted face
Created in NX5.0.0. More...
 
bool ExtremeFacePointOverridesStationary ()
 Returns the extreme face point overrides stationary
Created in NX5.0.0. More...
 
NXOpen::ScCollectorFacesToDraft ()
 Returns the faces to draft
Created in NX5.0.0. More...
 
NXOpen::ScCollectorFacesToMoveToDraftedFace ()
 Returns the faces to move to drafted face
Created in NX5.0.0. More...
 
NXOpen::ExpressionFilletRadius ()
 Returns the fillet radius
Created in NX9.0.0. More...
 
NXOpen::Features::DraftBodyBuilder::MatchOption MatchingOption ()
 Returns the matching option
More...
 
NXOpen::Features::DraftBodyBuilder::MatchingScope MatchScope ()
 Returns the match scope
Created in NX9.0.0. More...
 
NXOpen::Features::DraftBodyBuilder::MatchingType MatchType ()
 Returns the match type
Created in NX9.0.0. More...
 
NXOpen::SelectDisplayableObjectPartingObject ()
 Returns the parting object
Created in NX5.0.0. More...
 
NXOpen::Features::DraftBodyBuilder::RepairOption RepairingOption ()
 Returns the repairing option
More...
 
NXOpen::Features::DraftBodyBuilder::RepairingPartingEdgeOption RepairPartingEdge ()
 Returns the repairing parting edge
Created in NX9.0.0. More...
 
NXOpen::ExpressionRepairRadius ()
 Returns the repair radius
More...
 
void SetDraftMethod (NXOpen::Features::DraftBodyBuilder::Method draftMethod)
 Sets the draft method
Created in NX5.0.0. More...
 
void SetDrawDirection (NXOpen::Direction *drawDirection)
 Sets the draw direction
Created in NX5.0.0. More...
 
void SetExtremeFacePointOverridesStationary (bool extremeFacePointOverridesStationary)
 Sets the extreme face point overrides stationary
Created in NX5.0.0. More...
 
void SetMatchingOption (NXOpen::Features::DraftBodyBuilder::MatchOption matchingOption)
 Sets the matching option
More...
 
void SetMatchScope (NXOpen::Features::DraftBodyBuilder::MatchingScope matchingScope)
 Sets the match scope
Created in NX9.0.0. More...
 
void SetMatchType (NXOpen::Features::DraftBodyBuilder::MatchingType matchType)
 Sets the match type
Created in NX9.0.0. More...
 
void SetRepairingOption (NXOpen::Features::DraftBodyBuilder::RepairOption repairingOption)
 Sets the repairing option
More...
 
void SetRepairPartingEdge (NXOpen::Features::DraftBodyBuilder::RepairingPartingEdgeOption repairingPartingEdges)
 Sets the repairing parting edge
Created in NX9.0.0. More...
 
void SetTolerance (double tolerance)
 Sets the tolerance
Created in NX5.0.0. More...
 
void SetType (NXOpen::Features::DraftBodyBuilder::Types type)
 Sets the draft body type
Created in NX5.0.0. More...
 
void SetUseDraftedBodyAsPartingObject (bool useDraftedBodyAsPartingObject)
 Sets the use drafted body as parting object
Created in NX11.0.0. More...
 
NXOpen::ScCollectorStationaryEdgesAboveParting ()
 Returns the stationary edges above parting
Created in NX5.0.0. More...
 
NXOpen::ScCollectorStationaryEdgesBelowParting ()
 Returns the stationary edges below parting
Created in NX5.0.0. More...
 
double Tolerance ()
 Returns the tolerance
Created in NX5.0.0. More...
 
NXOpen::Features::DraftBodyBuilder::Types Type ()
 Returns the draft body type
Created in NX5.0.0. More...
 
NXOpen::ScCollectorUnmatchedEdges ()
 Returns the edges that will not be matched when matching option is AllButSelected
Created in NX5.0.0. More...
 
NXOpen::ScCollectorUnmatchedFaces ()
 Returns the faces that will not be matched when matching option is AllButSelected
Created in NX5.0.0. More...
 
bool UseDraftedBodyAsPartingObject ()
 Returns the use drafted body as parting object
Created in NX11.0.0. More...
 
- Public Member Functions inherited from NXOpen::Features::FeatureBuilder
NXOpen::Features::FeatureCommitFeature ()
 Commits the feature parameters and creates the feature. More...
 
NXOpen::Features::FeatureGetFeature ()
 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::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

Represents a NXOpen::Features::DraftBody builder
To create a new instance of this class, use NXOpen::Features::FeatureCollection::CreateDraftBodyBuilder
Default values.

Property Value

DraftAngle.Value

10.0

DraftMethod

Isocline

ExtremeFacePointOverridesStationary

False

FilletRadius.Value

2.5 (millimeters part), 0.1 (inches part)

MatchScope

All

MatchType

None

RepairPartingEdge

None

RepairRadius.Value (deprecated)

2.5 (millimeters part), 0.1 (inches part)

RepairingOption (deprecated)

None

Type

Edges

UseDraftedBodyAsPartingObject

False


Created in NX5.0.0.

Member Enumeration Documentation

Describes the different match scopes.

Enumerator
MatchingScopeAll 

All faces-to-draft are to be matched.

MatchingScopeAllButSelected 

All faces-to-draft except the ones explicitly indicated are to be matched.

Describes the different match types.

Enumerator
MatchingTypeNone 

No match type is specified.

MatchingTypeToIsocline 

Match type Isocline.

MatchingTypeTangentToFace 

Match type Tangent to face.

MatchingTypeFromEdges 

Match type from edges.

Describes the different match options.

Enumerator
MatchOptionNone 

No match option is specified.

MatchOptionAll 

All faces-to-draft are to be matched.

MatchOptionAllButSelected 

All faces-to-draft except the ones explicitly indicated are to be matched.

Describes the Draft Body method 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 repair parting edges options.

Enumerator
RepairingPartingEdgeOptionNone 

No repair parting edge option is specified.

RepairingPartingEdgeOptionWithFillet 

Repair concave miter corners with fillet.

RepairingPartingEdgeOptionWithLineAndFillet 

Repair concave miter corners with both fillet and line.

Describes the different repair options.

Enumerator
RepairOptionNone 

No repair option is specified.

RepairOptionBlends 

Repair concave miter corners with blends.

RepairOptionPlanes 

Repair concave miter corners with planes.

RepairOptionBoth 

Repair concave miter corners with both blends and planes.

Describes the different Draft Body types.

Enumerator
TypesEdges 

From Edges.

TypesFaces 

Faces to Draft.

Member Function Documentation

NXOpen::Expression* NXOpen::Features::DraftBodyBuilder::DraftAngle ( )

Returns the draft angle
Created in NX5.0.0.



License requirements : None

NXOpen::Features::DraftBodyBuilder::Method NXOpen::Features::DraftBodyBuilder::DraftMethod ( )

Returns the draft method
Created in NX5.0.0.



License requirements : None

NXOpen::Direction* NXOpen::Features::DraftBodyBuilder::DrawDirection ( )

Returns the draw direction
Created in NX5.0.0.



License requirements : None

NXOpen::ScCollector* NXOpen::Features::DraftBodyBuilder::EdgesToMoveToDraftedFace ( )

Returns the edges to move to drafted face
Created in NX5.0.0.



License requirements : None

bool NXOpen::Features::DraftBodyBuilder::ExtremeFacePointOverridesStationary ( )

Returns the extreme face point overrides stationary
Created in NX5.0.0.



License requirements : None

NXOpen::ScCollector* NXOpen::Features::DraftBodyBuilder::FacesToDraft ( )

Returns the faces to draft
Created in NX5.0.0.



License requirements : None

NXOpen::ScCollector* NXOpen::Features::DraftBodyBuilder::FacesToMoveToDraftedFace ( )

Returns the faces to move to drafted face
Created in NX5.0.0.



License requirements : None

NXOpen::Expression* NXOpen::Features::DraftBodyBuilder::FilletRadius ( )

Returns the fillet radius
Created in NX9.0.0.



License requirements : None

NXOpen::Features::DraftBodyBuilder::MatchOption NXOpen::Features::DraftBodyBuilder::MatchingOption ( )

Returns the matching option

Deprecated:
Deprecated in NX9.0.0.

Use NXOpen::Features::DraftBodyBuilder::MatchScope instead


Created in NX5.0.0.

License requirements : None

NXOpen::Features::DraftBodyBuilder::MatchingScope NXOpen::Features::DraftBodyBuilder::MatchScope ( )

Returns the match scope
Created in NX9.0.0.



License requirements : None

NXOpen::Features::DraftBodyBuilder::MatchingType NXOpen::Features::DraftBodyBuilder::MatchType ( )

Returns the match type
Created in NX9.0.0.



License requirements : None

NXOpen::SelectDisplayableObject* NXOpen::Features::DraftBodyBuilder::PartingObject ( )

Returns the parting object
Created in NX5.0.0.



License requirements : None

NXOpen::Features::DraftBodyBuilder::RepairOption NXOpen::Features::DraftBodyBuilder::RepairingOption ( )

Returns the repairing option

Deprecated:
Deprecated in NX9.0.0.

Use NXOpen::Features::DraftBodyBuilder::RepairPartingEdge instead


Created in NX5.0.0.

License requirements : None

NXOpen::Features::DraftBodyBuilder::RepairingPartingEdgeOption NXOpen::Features::DraftBodyBuilder::RepairPartingEdge ( )

Returns the repairing parting edge
Created in NX9.0.0.



License requirements : None

NXOpen::Expression* NXOpen::Features::DraftBodyBuilder::RepairRadius ( )

Returns the repair radius

Deprecated:
Deprecated in NX9.0.0.

Use NXOpen::Features::DraftBodyBuilder::FilletRadius instead


Created in NX5.0.0.

License requirements : None

void NXOpen::Features::DraftBodyBuilder::SetDraftMethod ( NXOpen::Features::DraftBodyBuilder::Method  draftMethod)

Sets the draft method
Created in NX5.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
draftMethoddraftmethod
void NXOpen::Features::DraftBodyBuilder::SetDrawDirection ( NXOpen::Direction drawDirection)

Sets the draw direction
Created in NX5.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
drawDirectiondrawdirection
void NXOpen::Features::DraftBodyBuilder::SetExtremeFacePointOverridesStationary ( bool  extremeFacePointOverridesStationary)

Sets the extreme face point overrides stationary
Created in NX5.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
extremeFacePointOverridesStationaryextremefacepointoverridesstationary
void NXOpen::Features::DraftBodyBuilder::SetMatchingOption ( NXOpen::Features::DraftBodyBuilder::MatchOption  matchingOption)

Sets the matching option

Deprecated:
Deprecated in NX9.0.0.

Use NXOpen::Features::DraftBodyBuilder::SetMatchScope instead


Created in NX5.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
matchingOptionmatchingoption
void NXOpen::Features::DraftBodyBuilder::SetMatchScope ( NXOpen::Features::DraftBodyBuilder::MatchingScope  matchingScope)

Sets the match scope
Created in NX9.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
matchingScopematchingscope
void NXOpen::Features::DraftBodyBuilder::SetMatchType ( NXOpen::Features::DraftBodyBuilder::MatchingType  matchType)

Sets the match type
Created in NX9.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
matchTypematchtype
void NXOpen::Features::DraftBodyBuilder::SetRepairingOption ( NXOpen::Features::DraftBodyBuilder::RepairOption  repairingOption)

Sets the repairing option

Deprecated:
Deprecated in NX9.0.0.

Use NXOpen::Features::DraftBodyBuilder::SetRepairPartingEdge instead


Created in NX5.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
repairingOptionrepairingoption
void NXOpen::Features::DraftBodyBuilder::SetRepairPartingEdge ( NXOpen::Features::DraftBodyBuilder::RepairingPartingEdgeOption  repairingPartingEdges)

Sets the repairing parting edge
Created in NX9.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
repairingPartingEdgesrepairingpartingedges
void NXOpen::Features::DraftBodyBuilder::SetTolerance ( double  tolerance)

Sets the tolerance
Created in NX5.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
tolerancetolerance
void NXOpen::Features::DraftBodyBuilder::SetType ( NXOpen::Features::DraftBodyBuilder::Types  type)

Sets the draft body type
Created in NX5.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
typetype
void NXOpen::Features::DraftBodyBuilder::SetUseDraftedBodyAsPartingObject ( bool  useDraftedBodyAsPartingObject)

Sets the use drafted body as parting object
Created in NX11.0.0.



License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
useDraftedBodyAsPartingObjectusedraftedbodyaspartingobject
NXOpen::ScCollector* NXOpen::Features::DraftBodyBuilder::StationaryEdgesAboveParting ( )

Returns the stationary edges above parting
Created in NX5.0.0.



License requirements : None

NXOpen::ScCollector* NXOpen::Features::DraftBodyBuilder::StationaryEdgesBelowParting ( )

Returns the stationary edges below parting
Created in NX5.0.0.



License requirements : None

double NXOpen::Features::DraftBodyBuilder::Tolerance ( )

Returns the tolerance
Created in NX5.0.0.



License requirements : None

NXOpen::Features::DraftBodyBuilder::Types NXOpen::Features::DraftBodyBuilder::Type ( )

Returns the draft body type
Created in NX5.0.0.



License requirements : None

NXOpen::ScCollector* NXOpen::Features::DraftBodyBuilder::UnmatchedEdges ( )

Returns the edges that will not be matched when matching option is AllButSelected
Created in NX5.0.0.



License requirements : None

NXOpen::ScCollector* NXOpen::Features::DraftBodyBuilder::UnmatchedFaces ( )

Returns the faces that will not be matched when matching option is AllButSelected
Created in NX5.0.0.



License requirements : None

bool NXOpen::Features::DraftBodyBuilder::UseDraftedBodyAsPartingObject ( )

Returns the use drafted body as parting object
Created in NX11.0.0.



License requirements : None


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