TabBuilder Class¶
-
class
NXOpen.Features.SheetMetal.
TabBuilder
¶ Bases:
NXOpen.Features.SheetMetal.SheetmetalBaseBuilder
Represents a Tab feature builder.
To create a new instance of this class, use
NXOpen.Features.SheetMetal.SheetmetalManager.CreateTabFeatureBuilder()
New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
IsSecondary | Returns or sets the tab type |
MaterialSide | Returns or sets the material side value of secondary tab |
ParentFeatureInternal | Returns or sets whether or not the latest timestamped parent feature of this feature should be made internal |
PatchSolutionFlag | Returns or sets the patch solution flag |
PatchSurfaceFilename | Returns or sets the patch surface filename |
Section | Returns or sets the section of tab |
Sketch | Returns or sets the sketch of tab |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
Thickness | Returns the thickness of tab |
ThicknessSide | Returns or sets the sweep direction flag of tab |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CommitFeature | Commits the feature parameters and creates the feature @return |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetApplicationContext | Get the application context. |
GetCommittedObjects | For builders that create more than one object, this method returns the objects that are created by commit. |
GetFeature | Returns the feature currently being edited by this builder. |
GetObject | Returns the object currently being edited by this builder. |
HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
SetApplicationContext | Set the application context. |
SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
SetThickness | |
ShowInternalParentFeatureForEdit | Unsuppress an internal parent feature (a slave feature) so it can be edited. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
UnsetParentFeatureInternal | Set the internal parent feature of the feature being edited to external |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
ValidateBuilderData | Verify whether the builder data is valid for creating a Tab or not. |
Enumerations¶
TabBuilderSectionSideOptions Enumeration | This enum represents the side of the section that the dimple punches material. |
TabBuilderThicknessSideOptions Enumeration | This enum represents the extent direction for the Tab. |
Property Detail¶
IsSecondary¶
-
TabBuilder.
IsSecondary
¶ Returns or sets the tab type
-------------------------------------
Getter Method
Signature
IsSecondary()
Returns: tab type Return type: bool New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
-------------------------------------
Setter Method
Signature
IsSecondary(isSecondary)
Parameters: isSecondary (bool) – tab type New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
MaterialSide¶
-
TabBuilder.
MaterialSide
¶ Returns or sets the material side value of secondary tab
-------------------------------------
Getter Method
Signature
MaterialSide()
Returns: material side value Return type: NXOpen.Features.SheetMetal.TabBuilderSectionSideOptions
New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
-------------------------------------
Setter Method
Signature
MaterialSide(sectionSide)
Parameters: sectionSide ( NXOpen.Features.SheetMetal.TabBuilderSectionSideOptions
) – material side valueNew in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
Section¶
-
TabBuilder.
Section
¶ Returns or sets the section of tab
-------------------------------------
Getter Method
Signature
Section()
Returns: Section tag Return type: NXOpen.Section
New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
-------------------------------------
Setter Method
Signature
Section(section)
Parameters: section ( NXOpen.Section
) – section tagNew in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
Sketch¶
-
TabBuilder.
Sketch
¶ Returns or sets the sketch of tab
-------------------------------------
Getter Method
Signature
Sketch()
Returns: Sketch tag Return type: NXOpen.Features.SketchFeature
New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
-------------------------------------
Setter Method
Signature
Sketch(sketch)
Parameters: sketch ( NXOpen.Features.SketchFeature
) – sketch tagNew in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
Thickness¶
-
TabBuilder.
Thickness
¶ Returns the thickness of tab
-------------------------------------
Getter Method
Signature
Thickness()
Returns: Tab thickness Return type: NXOpen.Expression
New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
ThicknessSide¶
-
TabBuilder.
ThicknessSide
¶ Returns or sets the sweep direction flag of tab
-------------------------------------
Getter Method
Signature
ThicknessSide()
Returns: Sweep Direction Flag Return type: NXOpen.Features.SheetMetal.TabBuilderThicknessSideOptions
New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
-------------------------------------
Setter Method
Signature
ThicknessSide(flag)
Parameters: flag ( NXOpen.Features.SheetMetal.TabBuilderThicknessSideOptions
) – Sweep Direction FlagNew in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
Method Detail¶
SetThickness¶
-
TabBuilder.
SetThickness
¶ Signature
SetThickness(thickness)
Parameters: thickness (str) – Tab thickness New in version NX4.0.0.
Deprecated since version NX10.0.0: Use
NXOpen.Expression.RightHandSide()
on theNXOpen.Expression
object returned fromNXOpen.Features.SheetMetal.TabBuilder.Thickness()
instead.License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)
Validate¶
-
TabBuilder.
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.
ValidateBuilderData¶
-
TabBuilder.
ValidateBuilderData
¶ Verify whether the builder data is valid for creating a Tab or not.
If the Builder data is valid, returned value shall be 0.
Signature
ValidateBuilderData()
Returns: Data Validity Flag. Return type: int New in version NX4.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR nx_flexible_pcb (“NX Flexible PCB”)