NX Open C++ Reference Guide
|
Represents a multi-draft. More...
Public Types | |
enum | AngleOption { AngleOptionSingle, AngleOptionMultiple } |
Represents the angle option. More... | |
![]() | |
enum | SimpleDraftType { SimpleDraftTypeNoDraft, SimpleDraftTypeSimpleFromStart, SimpleDraftTypeSimpleFromProfile, SimpleDraftTypeSymmetric, SimpleDraftTypeMatchedEnds, SimpleDraftTypeAsymmetric } |
This enum represents the kind of simple_draft. More... | |
Public Member Functions | |
NXOpen::Expression * | BackDraftAngle () |
Returns the back draft angle. | |
NXOpen::GeometricUtilities::SimpleDraft::SimpleDraftType | DraftOption () |
Returns the draft type. | |
NXOpen::Expression * | FrontDraftAngle () |
Returns the front draft angle. | |
NXOpen::GeometricUtilities::MultiDraft::AngleOption | GetAngleOption () |
Returns the draft angle option. | |
std::vector < NXOpen::Features::EmbossTaper * > | GetDrafts (NXOpen::Section *section) |
Return all the drafts. | |
void | SetAngleOption (NXOpen::GeometricUtilities::MultiDraft::AngleOption type) |
Sets the draft angle option. | |
void | SetDraftOption (NXOpen::GeometricUtilities::SimpleDraft::SimpleDraftType type) |
Sets the draft type. | |
![]() | |
NXOpen::Expression * | DraftAngle () |
Returns the draft angle. | |
NXOpen::GeometricUtilities::SimpleDraft::SimpleDraftType | DraftType () |
Returns the simple draft type. | |
void | SetDraftAngle (const NXString &draftAngle) |
Sets the draft angle | |
void | SetDraftAngle (const char *draftAngle) |
Sets the draft angle | |
void | SetDraftType (NXOpen::GeometricUtilities::SimpleDraft::SimpleDraftType type) |
Sets the simple draft type. | |
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 multi-draft.
Created in NX5.0.0.
NXOpen::Expression* NXOpen::GeometricUtilities::MultiDraft::BackDraftAngle | ( | ) |
Returns the back draft angle.
This function is used only when the angle type is GeometricUtilities::MultiDraft::AngleOptionSingle .
Created in NX5.0.0.
License requirements : None
NXOpen::GeometricUtilities::SimpleDraft::SimpleDraftType NXOpen::GeometricUtilities::MultiDraft::DraftOption | ( | ) |
Returns the draft type.
Created in NX5.0.0.
License requirements : None
NXOpen::Expression* NXOpen::GeometricUtilities::MultiDraft::FrontDraftAngle | ( | ) |
Returns the front draft angle.
This function is used only when the angle type is GeometricUtilities::MultiDraft::AngleOptionSingle .
Created in NX5.0.0.
License requirements : None
NXOpen::GeometricUtilities::MultiDraft::AngleOption NXOpen::GeometricUtilities::MultiDraft::GetAngleOption | ( | ) |
Returns the draft angle option.
@return
Created in NX5.0.0.
License requirements : None
std::vector<NXOpen::Features::EmbossTaper *> NXOpen::GeometricUtilities::MultiDraft::GetDrafts | ( | NXOpen::Section * | section | ) |
Return all the drafts.
@return Array of draft objects
Created in NX5.0.0.
License requirements : None
section | section |
void NXOpen::GeometricUtilities::MultiDraft::SetAngleOption | ( | NXOpen::GeometricUtilities::MultiDraft::AngleOption | type | ) |
Sets the draft angle option.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
type | type |
void NXOpen::GeometricUtilities::MultiDraft::SetDraftOption | ( | NXOpen::GeometricUtilities::SimpleDraft::SimpleDraftType | type | ) |
Sets the draft type.
Created in NX5.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
type | type |