SheetmetalComponentBuilder Class¶
-
class
NXOpen.Features.SheetMetal.
SheetmetalComponentBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
Represents a sheet metal component builder to be used in the creation and modification of features componenets.
Component builders manage the steps needed to correctly create features components on a feature.
This is an abstract class, and cannot be instantiated.
New in version NX12.0.0.
Methods¶
Method | Description |
---|---|
GetApplicationContext | Get the application context. |
SetApplicationContext | Set the application context. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Method Detail¶
GetApplicationContext¶
-
SheetmetalComponentBuilder.
GetApplicationContext
¶ Get the application context.
This component is available in more than one application and under different licenses. The enum
NXOpen.Features.SheetMetal.ApplicationContext
contains a list of all sheet metal related applications and a component might be available in one or more applications listed there.Signature
GetApplicationContext()
Returns: Return type: NXOpen.Features.SheetMetal.ApplicationContext
New in version NX12.0.0.
License requirements: None.
SetApplicationContext¶
-
SheetmetalComponentBuilder.
SetApplicationContext
¶ Set the application context.
Signature
SetApplicationContext(appContext)
Parameters: appContext ( NXOpen.Features.SheetMetal.ApplicationContext
) –New in version NX12.0.0.
License requirements: None.
Validate¶
-
SheetmetalComponentBuilder.
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.
Signature
Validate()
Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.