NX Open C++ Reference Guide
|
The CornerTreatmentBuilder class is used to manage a builder object for a corner treatment in the flat solid and flat pattern dialogs. More...
Public Types | |
enum | CornerTreatmentType { CornerTreatmentTypeNone, CornerTreatmentTypeChamfer, CornerTreatmentTypeRadius } |
Corner Treatment Type. More... | |
Public Member Functions | |
void | SetTreatmentType (NXOpen::Features::SheetMetal::CornerTreatmentBuilder::CornerTreatmentType treatmentType) |
Sets the treatment type option menu value Created in NX6.0.0. | |
void | SetUseGlobal (bool useGlobal) |
Sets the use global toggle value Created in NX6.0.0. | |
NXOpen::Features::SheetMetal::CornerTreatmentBuilder::CornerTreatmentType | TreatmentType () |
Returns the treatment type option menu value Created in NX6.0.0. | |
bool | UseGlobal () |
Returns the use global toggle value Created in NX6.0.0. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
NXOpen::Expression * | Value () |
Returns the value associated with the chamfer and radius treatment types Created in NX6.0.0. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
The CornerTreatmentBuilder class is used to manage a builder object for a corner treatment in the flat solid and flat pattern dialogs.
It includes properties and an enumeration type for a flag that indicates whether the global (flat pattern preferences) value is to be used, an enumeration type that indicates what type of corner treatment to apply, and an expression to indicate the value associated with treatment types chamfer and radius.
Created in NX6.0.0.
void NXOpen::Features::SheetMetal::CornerTreatmentBuilder::SetTreatmentType | ( | NXOpen::Features::SheetMetal::CornerTreatmentBuilder::CornerTreatmentType | treatmentType | ) |
Sets the treatment type option menu value
Created in NX6.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB")
treatmentType | treatmenttype |
void NXOpen::Features::SheetMetal::CornerTreatmentBuilder::SetUseGlobal | ( | bool | useGlobal | ) |
Sets the use global toggle value
Created in NX6.0.0.
License requirements : nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB")
useGlobal | useglobal |
NXOpen::Features::SheetMetal::CornerTreatmentBuilder::CornerTreatmentType NXOpen::Features::SheetMetal::CornerTreatmentBuilder::TreatmentType | ( | ) |
Returns the treatment type option menu value
Created in NX6.0.0.
License requirements : None
bool NXOpen::Features::SheetMetal::CornerTreatmentBuilder::UseGlobal | ( | ) |
Returns the use global toggle value
Created in NX6.0.0.
License requirements : None
|
virtual |
Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.
Implements NXOpen::GeometricUtilities::IComponentBuilder.
NXOpen::Expression* NXOpen::Features::SheetMetal::CornerTreatmentBuilder::Value | ( | ) |
Returns the value associated with the chamfer and radius treatment types
Created in NX6.0.0.
License requirements : None