KeywayParentBuilder Class¶
-
class
NXOpen.Die.KeywayParentBuilder¶ Bases:
NXOpen.Features.FeatureBuilderRepresents 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 |
| 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
BuildStatusReturns: Return type: NXOpen.Die.DieBuildStatusOptionNew 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
DepthReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
DepthParameters: 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
DesignStatusReturns: Return type: bool New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
DesignStatusParameters: 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
DisplayStatusReturns: Return type: bool New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
DisplayStatusParameters: 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
LengthReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
LengthParameters: 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
MinimumRibHeightReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
MinimumRibHeightParameters: 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
PadHeightReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
PadHeightParameters: 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
PadWidthReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
PadWidthParameters: 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
PlacementOffsetReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
PlacementOffsetParameters: 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
RunoffDepthReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
RunoffDepthParameters: 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
RunoffDiameterReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
RunoffDiameterParameters: 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
RunoffLengthReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
RunoffLengthParameters: 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
RunoffTypeReturns: Return type: NXOpen.Die.KeywayParentBuilderRunoffTypeOptionNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
RunoffTypeParameters: 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
RunoffWidthReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
RunoffWidthParameters: 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
WidthReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
WidthParameters: 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.KeywayChildBuilderNew 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.KeywayChildBuilderNew 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.
- value (str) – Value of attribute.
- 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.
- value (str) – Value of attribute.
- 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.