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

The CornerTreatmentBuilder class is used to manage a builder object for a corner treatment in the flat solid and flat pattern dialogs. More...

Inheritance diagram for NXOpen::Features::SheetMetal::CornerTreatmentBuilder:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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. More...
 
void SetUseGlobal (bool useGlobal)
 Sets the use global toggle value
Created in NX6.0.0. More...
 
NXOpen::Features::SheetMetal::CornerTreatmentBuilder::CornerTreatmentType TreatmentType ()
 Returns the treatment type option menu value
Created in NX6.0.0. More...
 
bool UseGlobal ()
 Returns the use global toggle value
Created in NX6.0.0. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
NXOpen::ExpressionValue ()
 Returns the value associated with the chamfer and radius treatment types
Created in NX6.0.0. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

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.

Member Enumeration Documentation

Corner Treatment Type.

Enumerator
CornerTreatmentTypeNone 

none

CornerTreatmentTypeChamfer 

chamfer

CornerTreatmentTypeRadius 

radius

Member Function Documentation

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

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

Parameters
useGlobaluseglobal
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 bool NXOpen::Features::SheetMetal::CornerTreatmentBuilder::Validate ( )
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.

Returns
Was self validation successful
Created in NX3.0.1.

License requirements : None

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


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