CastReliefBuilder Class¶
-
class
NXOpen.Die.
CastReliefBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a
NXOpen.Die.CastReliefBuilder
builderTo create a new instance of this class, use
NXOpen.Die.DieCollection.CastRelief
Default values.
Property Value AngleTolerance 0.5 CreateSupportCasting 0 DistanceTolerance 0.0254 (millimeters part), 0.001 (inches part) ReliefDepth.Value 5 (millimeters part), 0.2 (inches part) Thickness.Value 35 (millimeters part), 1.4 (inches part) New in version NX6.0.0.
Properties¶
Property | Description |
---|---|
AngleTolerance | Returns or sets the angle tolerance |
BaseOrientation | Returns the base orientation of the die casting used for orienting the relief construction |
CreateSupportCasting | Returns or sets the value (true or false) to decide if support casting should be created |
DistanceTolerance | Returns or sets the distance tolerance |
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 |
ReliefDepth | Returns the depth value of the relief |
ReliefProfile | Returns the closed profiles used for determining the relief |
ReliefSheet | Returns the sheet to offset to specify the relief surface |
SheetMetal | Returns the sheet that specifies the sheet metal surface |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
Target | Returns the target solid the relief will be united with |
Thickness | Returns the thickness value of the support casting surrounding the relief |
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. |
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. |
Property Detail¶
AngleTolerance¶
-
CastReliefBuilder.
AngleTolerance
¶ Returns or sets the angle tolerance
-------------------------------------
Getter Method
Signature
AngleTolerance()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AngleTolerance(angleTolerance)
Parameters: angleTolerance (float) – New in version NX6.0.0.
License requirements: ug_die_design (“Die Design”)
BaseOrientation¶
-
CastReliefBuilder.
BaseOrientation
¶ Returns the base orientation of the die casting used for orienting the relief construction
-------------------------------------
Getter Method
Signature
BaseOrientation()
Returns: Return type: NXOpen.Die.DiePlaneBuilder
New in version NX6.0.0.
License requirements: None.
CreateSupportCasting¶
-
CastReliefBuilder.
CreateSupportCasting
¶ Returns or sets the value (true or false) to decide if support casting should be created
-------------------------------------
Getter Method
Signature
CreateSupportCasting()
Returns: Return type: bool New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
CreateSupportCasting(createSupportCasting)
Parameters: createSupportCasting (bool) – New in version NX6.0.0.
License requirements: ug_die_design (“Die Design”)
DistanceTolerance¶
-
CastReliefBuilder.
DistanceTolerance
¶ Returns or sets the distance tolerance
-------------------------------------
Getter Method
Signature
DistanceTolerance()
Returns: Return type: float New in version NX6.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
DistanceTolerance(distanceTolerance)
Parameters: distanceTolerance (float) – New in version NX6.0.0.
License requirements: ug_die_design (“Die Design”)
ReliefDepth¶
-
CastReliefBuilder.
ReliefDepth
¶ Returns the depth value of the relief
-------------------------------------
Getter Method
Signature
ReliefDepth()
Returns: Return type: NXOpen.Expression
New in version NX6.0.0.
License requirements: None.
ReliefProfile¶
-
CastReliefBuilder.
ReliefProfile
¶ Returns the closed profiles used for determining the relief
-------------------------------------
Getter Method
Signature
ReliefProfile()
Returns: Return type: NXOpen.Section
New in version NX6.0.0.
License requirements: None.
ReliefSheet¶
-
CastReliefBuilder.
ReliefSheet
¶ Returns the sheet to offset to specify the relief surface
-------------------------------------
Getter Method
Signature
ReliefSheet()
Returns: Return type: NXOpen.SelectNXObject
New in version NX6.0.0.
License requirements: None.
SheetMetal¶
-
CastReliefBuilder.
SheetMetal
¶ Returns the sheet that specifies the sheet metal surface
-------------------------------------
Getter Method
Signature
SheetMetal()
Returns: Return type: NXOpen.SelectNXObject
New in version NX6.0.0.
License requirements: None.
Target¶
-
CastReliefBuilder.
Target
¶ Returns the target solid the relief will be united with
-------------------------------------
Getter Method
Signature
Target()
Returns: Return type: NXOpen.SelectNXObject
New in version NX6.0.0.
License requirements: None.
Thickness¶
-
CastReliefBuilder.
Thickness
¶ Returns the thickness value of the support casting surrounding the relief
-------------------------------------
Getter Method
Signature
Thickness()
Returns: Return type: NXOpen.Expression
New in version NX6.0.0.
License requirements: None.
Method Detail¶
Validate¶
-
CastReliefBuilder.
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.