NX Open C++ Reference Guide
|
Represents a @link Features::DraftBody Features::DraftBody@endlink builder <br> To create a new instance of this class, use @link Features::FeatureCollection::CreateDraftBodyBuilder Features::FeatureCollection::CreateDraftBodyBuilder @endlink <br>
Default values. More...
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::Expression * | DraftAngle () |
Returns the draft angle Created in NX5.0.0. | |
NXOpen::Features::DraftBodyBuilder::Method | DraftMethod () |
Returns the draft method Created in NX5.0.0. | |
NXOpen::Direction * | DrawDirection () |
Returns the draw direction Created in NX5.0.0. | |
NXOpen::ScCollector * | EdgesToMoveToDraftedFace () |
Returns the edges to move to drafted face Created in NX5.0.0. | |
bool | ExtremeFacePointOverridesStationary () |
Returns the extreme face point overrides stationary Created in NX5.0.0. | |
NXOpen::ScCollector * | FacesToDraft () |
Returns the faces to draft Created in NX5.0.0. | |
NXOpen::ScCollector * | FacesToMoveToDraftedFace () |
Returns the faces to move to drafted face Created in NX5.0.0. | |
NXOpen::Expression * | FilletRadius () |
Returns the fillet radius Created in NX9.0.0. | |
NXOpen::Features::DraftBodyBuilder::MatchOption | MatchingOption () |
Returns the matching option | |
NXOpen::Features::DraftBodyBuilder::MatchingScope | MatchScope () |
Returns the match scope Created in NX9.0.0. | |
NXOpen::Features::DraftBodyBuilder::MatchingType | MatchType () |
Returns the match type Created in NX9.0.0. | |
NXOpen::SelectDisplayableObject * | PartingObject () |
Returns the parting object Created in NX5.0.0. | |
NXOpen::Features::DraftBodyBuilder::RepairOption | RepairingOption () |
Returns the repairing option | |
NXOpen::Features::DraftBodyBuilder::RepairingPartingEdgeOption | RepairPartingEdge () |
Returns the repairing parting edge Created in NX9.0.0. | |
NXOpen::Expression * | RepairRadius () |
Returns the repair radius | |
void | SetDraftMethod (NXOpen::Features::DraftBodyBuilder::Method draftMethod) |
Sets the draft method Created in NX5.0.0. | |
void | SetDrawDirection (NXOpen::Direction *drawDirection) |
Sets the draw direction Created in NX5.0.0. | |
void | SetExtremeFacePointOverridesStationary (bool extremeFacePointOverridesStationary) |
Sets the extreme face point overrides stationary Created in NX5.0.0. | |
void | SetMatchingOption (NXOpen::Features::DraftBodyBuilder::MatchOption matchingOption) |
Sets the matching option | |
void | SetMatchScope (NXOpen::Features::DraftBodyBuilder::MatchingScope matchingScope) |
Sets the match scope Created in NX9.0.0. | |
void | SetMatchType (NXOpen::Features::DraftBodyBuilder::MatchingType matchType) |
Sets the match type Created in NX9.0.0. | |
void | SetRepairingOption (NXOpen::Features::DraftBodyBuilder::RepairOption repairingOption) |
Sets the repairing option | |
void | SetRepairPartingEdge (NXOpen::Features::DraftBodyBuilder::RepairingPartingEdgeOption repairingPartingEdges) |
Sets the repairing parting edge Created in NX9.0.0. | |
void | SetTolerance (double tolerance) |
Sets the tolerance Created in NX5.0.0. | |
void | SetType (NXOpen::Features::DraftBodyBuilder::Types type) |
Sets the draft body type Created in NX5.0.0. | |
NXOpen::ScCollector * | StationaryEdgesAboveParting () |
Returns the stationary edges above parting Created in NX5.0.0. | |
NXOpen::ScCollector * | StationaryEdgesBelowParting () |
Returns the stationary edges below parting Created in NX5.0.0. | |
double | Tolerance () |
Returns the tolerance Created in NX5.0.0. | |
NXOpen::Features::DraftBodyBuilder::Types | Type () |
Returns the draft body type Created in NX5.0.0. | |
NXOpen::ScCollector * | UnmatchedEdges () |
Returns the edges that will not be matched when matching option is AllButSelected Created in NX5.0.0. | |
NXOpen::ScCollector * | UnmatchedFaces () |
Returns the faces that will not be matched when matching option is AllButSelected Created in NX5.0.0. | |
![]() | |
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 @link Features::DraftBody Features::DraftBody@endlink builder <br> To create a new instance of this class, use @link Features::FeatureCollection::CreateDraftBodyBuilder Features::FeatureCollection::CreateDraftBodyBuilder @endlink <br>
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 |
Created in NX5.0.0.
Describes the different match types.
MatchingTypeNone |
No match type is specified. |
MatchingTypeToIsocline |
Match type Isocline. |
MatchingTypeTangentToFace |
Match type Tangent to face. |
MatchingTypeFromEdges |
Match type from edges. |
Describes the different repair parting edges options.
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
Use 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
Use 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
Use 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")
draftMethod | draftmethod |
void NXOpen::Features::DraftBodyBuilder::SetDrawDirection | ( | NXOpen::Direction * | drawDirection | ) |
Sets the draw direction
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
drawDirection | drawdirection |
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")
extremeFacePointOverridesStationary | extremefacepointoverridesstationary |
void NXOpen::Features::DraftBodyBuilder::SetMatchingOption | ( | NXOpen::Features::DraftBodyBuilder::MatchOption | matchingOption | ) |
Sets the matching option
Use Features::DraftBodyBuilder::SetMatchScope instead
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
matchingOption | matchingoption |
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")
matchingScope | matchingscope |
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")
matchType | matchtype |
void NXOpen::Features::DraftBodyBuilder::SetRepairingOption | ( | NXOpen::Features::DraftBodyBuilder::RepairOption | repairingOption | ) |
Sets the repairing option
Use Features::DraftBodyBuilder::SetRepairPartingEdge instead
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
repairingOption | repairingoption |
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")
repairingPartingEdges | repairingpartingedges |
void NXOpen::Features::DraftBodyBuilder::SetTolerance | ( | double | tolerance | ) |
Sets the tolerance
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
tolerance | tolerance |
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")
type | type |
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