SolidPunchBuilder Class¶
-
class
NXOpen.Features.SheetMetal.
SolidPunchBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a
NXOpen.Features.SheetMetal.SolidPunchBuilder
To 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
AutoCentroid
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AutoCentroid
Parameters: 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
ConstantThickness
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ConstantThickness
Parameters: 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
DieRadius
Returns: Return type: NXOpen.Expression
New 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
FromCsys
Returns: Return type: NXOpen.CoordinateSystem
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FromCsys
Parameters: 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
HideTool
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
HideTool
Parameters: 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
IncludeRounding
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
IncludeRounding
Parameters: 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
InferThickness
Returns: Return type: bool New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
InferThickness
Parameters: 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
PierceFaces
Returns: Return type: NXOpen.SelectFaceList
New 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
PunchRadius
Returns: Return type: NXOpen.Expression
New in version NX5.0.0.
License requirements: None.
TargetFace¶
-
SolidPunchBuilder.
TargetFace
¶ Returns the target face
-------------------------------------
Getter Method
Signature
TargetFace
Returns: Return type: NXOpen.SelectFace
New 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
Thickness
Returns: Return type: NXOpen.Expression
New 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
ToCsys
Returns: Return type: NXOpen.CoordinateSystem
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
ToCsys
Parameters: 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
ToolBody
Returns: Return type: NXOpen.SelectBody
New in version NX5.0.0.
License requirements: None.
Type¶
-
SolidPunchBuilder.
Type
¶ Returns or sets the type
-------------------------------------
Getter Method
Signature
Type
Returns: Return type: NXOpen.Features.SheetMetal.SolidPunchBuilderTypes
New in version NX5.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
Type
Parameters: 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.