NXOpen .NET Reference
12.0.0
|
The HoleTreatmentBuilder class is used to manage a builder object for a hole treatment in the flat pattern dialogs. More...
Public Types | |
enum | TreatmentType { None, Centermark } |
Hole Treatment Type More... | |
Public Member Functions | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Properties | |
unsafe NXOpen.Expression | Diameter [get] |
Returns the hole diameter value associated with the treatment type More... | |
unsafe NXOpen.Features.SheetMetal.HoleTreatmentBuilder.TreatmentType | Treatment [get, set] |
Returns or sets the treatment type option menu value More... | |
unsafe bool | UseGlobal [get, set] |
Returns or sets the use global toggle value More... | |
The HoleTreatmentBuilder class is used to manage a builder object for a hole treatment in the 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 hole treatment to apply, and an expression to indicate the diameter value associated with treatment type.
Created in NX12.0.0
unsafe bool NXOpen.Features.SheetMetal.HoleTreatmentBuilder.Validate | ( | ) |
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.
Created in NX3.0.1
License requirements: None.
Implements NXOpen.GeometricUtilities.IComponentBuilder.
|
get |
Returns the hole diameter value associated with the treatment type
Created in NX12.0.0
License requirements: None.
|
getset |
Returns or sets the treatment type option menu value
Created in NX12.0.0
License requirements to get this property: None.
License requirements to set this property: nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB")
|
getset |
Returns or sets the use global toggle value
Created in NX12.0.0
License requirements to get this property: None.
License requirements to set this property: nx_sheet_metal ("NX Sheet Metal") OR nx_flexible_pcb ("NX Flexible PCB")