KeywayParentBuilder Class¶
-
class
NXOpen.Die.
KeywayParentBuilder
¶ Bases:
NXOpen.Features.FeatureBuilder
Represents a Die Keyway Parent sub feature.
This sub feature is created via the main feature builder.
New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
BuildStatus | Returns the build status of keyways. |
Depth | Returns or sets the depth of keyways. |
DesignStatus | Returns or sets the design status of keyways, if true the keyways will be built into the model, if false they will not. |
DisplayStatus | Returns or sets the display status of keyways, if true input data to the keyways will be displayed, if false the input data will not be displayed. |
Length | Returns or sets the length of keyways. |
MinimumRibHeight | Returns or sets the minimum rib height of keyways. |
PadHeight | Returns or sets the pad height of keyways. |
PadWidth | Returns or sets the pad width of keyways. |
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 |
PlacementOffset | Returns or sets the placement offset of keyways. |
RunoffDepth | Returns or sets the runoff depth of keyways. |
RunoffDiameter | Returns or sets the runoff diameter of keyways. |
RunoffLength | Returns or sets the runoff length of keyways. |
RunoffType | Returns or sets the runoff type of keyways. |
RunoffWidth | Returns or sets the runoff width of keyways. |
SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
Tag | Returns the Tag for this object. |
Width | Returns or sets the width of keyways. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
CommitFeature | Commits the feature parameters and creates the feature @return |
CreateChild | Creates a child keyway. |
DeleteChild | Deletes a child keyway. |
Destroy | Deletes the builder, and cleans up any objects created by the builder. |
GetChildren | Outputs the child keyways. |
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. |
GetPadAttributes | Gets the pad attributes, note existance of attributes depends on usage in main feature. |
GetSlotAttributes | Gets the slot attributes, note existance of attributes depends on usage in main feature. |
HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
SetPadAttributes | Sets the pad attributes, note existance of attributes depends on usage in main feature. |
SetParentFeatureInternal | Set the parent features which would be internal or slaves to the feature being created or commited |
SetSlotAttributes | Sets the slot attributes, note existance of attributes depends on usage in main feature. |
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¶
KeywayParentBuilderRunoffTypeOption Enumeration | Settings for the runoff type of the keyway. |
Property Detail¶
BuildStatus¶
-
KeywayParentBuilder.
BuildStatus
¶ Returns the build status of keyways.
-------------------------------------
Getter Method
Signature
BuildStatus()
Returns: Return type: NXOpen.Die.DieBuildStatusOption
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Depth¶
-
KeywayParentBuilder.
Depth
¶ Returns or sets the depth of keyways.
-------------------------------------
Getter Method
Signature
Depth()
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
Depth(depth)
Parameters: depth (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
DesignStatus¶
-
KeywayParentBuilder.
DesignStatus
¶ Returns or sets the design status of keyways, if true the keyways will be built into the model, if false they will not.
-------------------------------------
Getter Method
Signature
DesignStatus()
Returns: Return type: bool New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
DesignStatus(designStatus)
Parameters: designStatus (bool) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
DisplayStatus¶
-
KeywayParentBuilder.
DisplayStatus
¶ Returns or sets the display status of keyways, if true input data to the keyways will be displayed, if false the input data will not be displayed.
-------------------------------------
Getter Method
Signature
DisplayStatus()
Returns: Return type: bool New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
DisplayStatus(displayStatus)
Parameters: displayStatus (bool) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Length¶
-
KeywayParentBuilder.
Length
¶ Returns or sets the length of keyways.
-------------------------------------
Getter Method
Signature
Length()
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
Length(length)
Parameters: length (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
MinimumRibHeight¶
-
KeywayParentBuilder.
MinimumRibHeight
¶ Returns or sets the minimum rib height of keyways.
-------------------------------------
Getter Method
Signature
MinimumRibHeight()
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
MinimumRibHeight(minimumRibHeight)
Parameters: minimumRibHeight (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
PadHeight¶
-
KeywayParentBuilder.
PadHeight
¶ Returns or sets the pad height of keyways.
-------------------------------------
Getter Method
Signature
PadHeight()
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
PadHeight(padHeight)
Parameters: padHeight (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
PadWidth¶
-
KeywayParentBuilder.
PadWidth
¶ Returns or sets the pad width of keyways.
-------------------------------------
Getter Method
Signature
PadWidth()
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
PadWidth(padWidth)
Parameters: padWidth (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
PlacementOffset¶
-
KeywayParentBuilder.
PlacementOffset
¶ Returns or sets the placement offset of keyways.
-------------------------------------
Getter Method
Signature
PlacementOffset()
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
PlacementOffset(placementOffset)
Parameters: placementOffset (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
RunoffDepth¶
-
KeywayParentBuilder.
RunoffDepth
¶ Returns or sets the runoff depth of keyways.
-------------------------------------
Getter Method
Signature
RunoffDepth()
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
RunoffDepth(runoffDepth)
Parameters: runoffDepth (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
RunoffDiameter¶
-
KeywayParentBuilder.
RunoffDiameter
¶ Returns or sets the runoff diameter of keyways.
-------------------------------------
Getter Method
Signature
RunoffDiameter()
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
RunoffDiameter(runoffDiameter)
Parameters: runoffDiameter (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
RunoffLength¶
-
KeywayParentBuilder.
RunoffLength
¶ Returns or sets the runoff length of keyways.
-------------------------------------
Getter Method
Signature
RunoffLength()
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
RunoffLength(runoffLength)
Parameters: runoffLength (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
RunoffType¶
-
KeywayParentBuilder.
RunoffType
¶ Returns or sets the runoff type of keyways.
-------------------------------------
Getter Method
Signature
RunoffType()
Returns: Return type: NXOpen.Die.KeywayParentBuilderRunoffTypeOption
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
RunoffType(runoffType)
Parameters: runoffType ( NXOpen.Die.KeywayParentBuilderRunoffTypeOption
) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
RunoffWidth¶
-
KeywayParentBuilder.
RunoffWidth
¶ Returns or sets the runoff width of keyways.
-------------------------------------
Getter Method
Signature
RunoffWidth()
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
RunoffWidth(runoffWidth)
Parameters: runoffWidth (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Width¶
-
KeywayParentBuilder.
Width
¶ Returns or sets the width of keyways.
-------------------------------------
Getter Method
Signature
Width()
Returns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------
Setter Method
Signature
Width(width)
Parameters: width (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Method Detail¶
CreateChild¶
-
KeywayParentBuilder.
CreateChild
¶ Creates a child keyway.
Signature
CreateChild()
Returns: Return type: NXOpen.Die.KeywayChildBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
DeleteChild¶
-
KeywayParentBuilder.
DeleteChild
¶ Deletes a child keyway.
Signature
DeleteChild(diekeywaychild)
Parameters: diekeywaychild ( NXOpen.Die.KeywayChildBuilder
) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
GetChildren¶
-
KeywayParentBuilder.
GetChildren
¶ Outputs the child keyways.
Signature
GetChildren()
Returns: The child keyways. Return type: list of NXOpen.Die.KeywayChildBuilder
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
GetPadAttributes¶
-
KeywayParentBuilder.
GetPadAttributes
¶ Gets the pad attributes, note existance of attributes depends on usage in main feature.
Signature
GetPadAttributes()
Returns: a tuple Return type: A tuple consisting of (title, value, color). title is a str. Title for attribute. value is a str. Value of attribute. color is a int. Color of pad faces. New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
GetSlotAttributes¶
-
KeywayParentBuilder.
GetSlotAttributes
¶ Gets the slot attributes, note existance of attributes depends on usage in main feature.
Signature
GetSlotAttributes()
Returns: a tuple Return type: A tuple consisting of (title, value, color). title is a str. Title for attribute. value is a str. Value of attribute. color is a int. Color of slot faces. New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
SetPadAttributes¶
-
KeywayParentBuilder.
SetPadAttributes
¶ Sets the pad attributes, note existance of attributes depends on usage in main feature.
Signature
SetPadAttributes(title, value, color)
Parameters: - title (str) – Title for attribute. NOTE: The full Unicode character set is not supported for this parameter.
- value (str) – Value of attribute. NOTE: The full Unicode character set is not supported for this parameter.
- color (int) – Color of pad faces.
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
SetSlotAttributes¶
-
KeywayParentBuilder.
SetSlotAttributes
¶ Sets the slot attributes, note existance of attributes depends on usage in main feature.
Signature
SetSlotAttributes(title, value, color)
Parameters: - title (str) – Title for attribute. NOTE: The full Unicode character set is not supported for this parameter.
- value (str) – Value of attribute. NOTE: The full Unicode character set is not supported for this parameter.
- color (int) – Color of slot faces.
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Validate¶
-
KeywayParentBuilder.
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.