SolidPunchBuilder Class¶
-
class
NXOpen.Features.SheetMetal.SolidPunchBuilder¶ Bases:
NXOpen.Features.FeatureBuilderRepresents a
NXOpen.Features.SheetMetal.SolidPunchBuilderTo create a new instance of this class, use
NXOpen.Features.SheetMetal.SheetmetalManager.CreateSolidPunchBuilder()New in version NX5.0.0.
Properties¶
| Property | Description |
|---|---|
| AutoCentroid | Returns or sets the option to create centroid automatically. |
| ConstantThickness | Returns or sets the option to maintain constant thickness during thickening. |
| DieRadius | Returns the Radius value of the sharp edges of the bottom face |
| FromCsys | Returns or sets the csys that defines the start of transformation of the tool body. |
| HideTool | Returns or sets the option to hide the tool body after creating the punch. |
| IncludeRounding | Returns or sets the option to round the sharp edges of bottom face and top face. |
| InferThickness | Returns or sets the option to infer the thickness from the target body. |
| 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 |
| PierceFaces | Returns the pierce faces of the tool body. |
| PunchRadius | Returns the Radius value of the sharp edges on the top face |
| SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
| Tag | Returns the Tag for this object. |
| TargetFace | Returns the target face |
| Thickness | Returns the thickness expression to use when the option to infer thickness is turned off. |
| ToCsys | Returns or sets the csys that defines the end of transformation of the tool body. |
| ToolBody | Returns the tool body |
| Type | Returns or sets the type |
Methods¶
| Method | Description |
|---|---|
| Commit | Commits any edits that have been applied to the builder. |
| CommitFeature | Commits the feature parameters and creates the feature |
| Destroy | Deletes the builder, and cleans up any objects created by the builder. |
| 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. |
| SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
| 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. |
Enumerations¶
| SolidPunchBuilderTypes Enumeration | Represents the punch type |
Property Detail¶
AutoCentroid¶
-
SolidPunchBuilder.AutoCentroid¶ Returns or sets the option to create centroid automatically.
-------------------------------------Getter Method
Signature
AutoCentroidReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
AutoCentroidParameters: autoCentroid (bool) – New in version NX5.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR sheet_metal_design (“SHEET METAL DESIGN”)
ConstantThickness¶
-
SolidPunchBuilder.ConstantThickness¶ Returns or sets the option to maintain constant thickness during thickening.
-------------------------------------Getter Method
Signature
ConstantThicknessReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ConstantThicknessParameters: constantThickness (bool) – New in version NX5.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR sheet_metal_design (“SHEET METAL DESIGN”)
DieRadius¶
-
SolidPunchBuilder.DieRadius¶ Returns the Radius value of the sharp edges of the bottom face
-------------------------------------Getter Method
Signature
DieRadiusReturns: Return type: NXOpen.ExpressionNew in version NX5.0.0.
License requirements: None.
FromCsys¶
-
SolidPunchBuilder.FromCsys¶ Returns or sets the csys that defines the start of transformation of the tool body.
-------------------------------------Getter Method
Signature
FromCsysReturns: Return type: NXOpen.CoordinateSystemNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FromCsysParameters: fromCsys ( NXOpen.CoordinateSystem) –New in version NX5.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR sheet_metal_design (“SHEET METAL DESIGN”)
HideTool¶
-
SolidPunchBuilder.HideTool¶ Returns or sets the option to hide the tool body after creating the punch.
-------------------------------------Getter Method
Signature
HideToolReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
HideToolParameters: hideTool (bool) – New in version NX5.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR sheet_metal_design (“SHEET METAL DESIGN”)
IncludeRounding¶
-
SolidPunchBuilder.IncludeRounding¶ Returns or sets the option to round the sharp edges of bottom face and top face.
-------------------------------------Getter Method
Signature
IncludeRoundingReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IncludeRoundingParameters: includeRounding (bool) – New in version NX5.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR sheet_metal_design (“SHEET METAL DESIGN”)
InferThickness¶
-
SolidPunchBuilder.InferThickness¶ Returns or sets the option to infer the thickness from the target body.
-------------------------------------Getter Method
Signature
InferThicknessReturns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
InferThicknessParameters: inferThickness (bool) – New in version NX5.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR sheet_metal_design (“SHEET METAL DESIGN”)
PierceFaces¶
-
SolidPunchBuilder.PierceFaces¶ Returns the pierce faces of the tool body.
-------------------------------------Getter Method
Signature
PierceFacesReturns: Return type: NXOpen.SelectFaceListNew in version NX5.0.0.
License requirements: None.
PunchRadius¶
-
SolidPunchBuilder.PunchRadius¶ Returns the Radius value of the sharp edges on the top face
-------------------------------------Getter Method
Signature
PunchRadiusReturns: Return type: NXOpen.ExpressionNew in version NX5.0.0.
License requirements: None.
TargetFace¶
-
SolidPunchBuilder.TargetFace¶ Returns the target face
-------------------------------------Getter Method
Signature
TargetFaceReturns: Return type: NXOpen.SelectFaceNew in version NX5.0.0.
License requirements: None.
Thickness¶
-
SolidPunchBuilder.Thickness¶ Returns the thickness expression to use when the option to infer thickness is turned off.
-------------------------------------Getter Method
Signature
ThicknessReturns: Return type: NXOpen.ExpressionNew in version NX5.0.0.
License requirements: None.
ToCsys¶
-
SolidPunchBuilder.ToCsys¶ Returns or sets the csys that defines the end of transformation of the tool body.
-------------------------------------Getter Method
Signature
ToCsysReturns: Return type: NXOpen.CoordinateSystemNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ToCsysParameters: toCsys ( NXOpen.CoordinateSystem) –New in version NX5.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR sheet_metal_design (“SHEET METAL DESIGN”)
ToolBody¶
-
SolidPunchBuilder.ToolBody¶ Returns the tool body
-------------------------------------Getter Method
Signature
ToolBodyReturns: Return type: NXOpen.SelectBodyNew in version NX5.0.0.
License requirements: None.
Type¶
-
SolidPunchBuilder.Type¶ Returns or sets the type
-------------------------------------Getter Method
Signature
TypeReturns: Return type: NXOpen.Features.SheetMetal.SolidPunchBuilderTypesNew in version NX5.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
TypeParameters: type ( NXOpen.Features.SheetMetal.SolidPunchBuilderTypes) –New in version NX5.0.0.
License requirements: nx_sheet_metal (“NX Sheet Metal”) OR sheet_metal_design (“SHEET METAL DESIGN”)
Method Detail¶
Validate¶
-
SolidPunchBuilder.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.