KeywayChildBuilder Class¶
-
class
NXOpen.Die.KeywayChildBuilder¶ Bases:
NXOpen.Features.FeatureBuilderRepresents a Die Keyway Child 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 the keyway. |
| Depth | Returns or sets the depth of the keyway. |
| DesignStatus | Returns or sets the design status of the keyway, if true the keyway will be built into the model, if false it will not. |
| DisplayStatus | Returns or sets the display status of the keyway, if true input data to the keyway will be displayed, if false the input data will not be displayed. |
| Length | Returns or sets the length of the keyway. |
| Location | Returns or sets the location of the keyway. |
| MinimumRibHeight | Returns or sets the minimum rib height of the keyway. |
| Offset | Returns or sets the offset of the keyway. |
| PadHeight | Returns or sets the pad height of the keyway. |
| PadWidth | Returns or sets the pad width of the keyway. |
| 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 the keyway. |
| Plane | Returns or sets the plane of the keyway. |
| ReverseOrientation | Returns or sets the value to reverse the orientation of the orientation plane, if true the keyway orientation normal will be reversed, if false it will not. |
| RunoffDepth | Returns or sets the runoff depth of the keyway. |
| RunoffDiameter | Returns or sets the runoff diameter of the keyway. |
| RunoffLength | Returns or sets the runoff length of the keyway. |
| RunoffType | Returns or sets the runoff type of the keyway. |
| RunoffWidth | Returns or sets the runoff width of the keyway. |
| SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
| Tag | Returns the Tag for this object. |
| Width | Returns or sets the width of the keyway. |
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. |
| 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¶
| KeywayChildBuilderLocationOption Enumeration | Settings for the location of the keyway. |
| KeywayChildBuilderRunoffTypeOption Enumeration | Settings for the runoff type of the keyway. |
Property Detail¶
BuildStatus¶
-
KeywayChildBuilder.BuildStatus¶ Returns the build status of the keyway.
-------------------------------------Getter Method
Signature
BuildStatusReturns: Return type: NXOpen.Die.DieBuildStatusOptionNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Depth¶
-
KeywayChildBuilder.Depth¶ Returns or sets the depth of the keyway.
-------------------------------------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¶
-
KeywayChildBuilder.DesignStatus¶ Returns or sets the design status of the keyway, if true the keyway will be built into the model, if false it 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¶
-
KeywayChildBuilder.DisplayStatus¶ Returns or sets the display status of the keyway, if true input data to the keyway 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¶
-
KeywayChildBuilder.Length¶ Returns or sets the length of the keyway.
-------------------------------------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”)
Location¶
-
KeywayChildBuilder.Location¶ Returns or sets the location of the keyway.
-------------------------------------Getter Method
Signature
LocationReturns: Return type: NXOpen.Die.KeywayChildBuilderLocationOptionNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
LocationParameters: location ( NXOpen.Die.KeywayChildBuilderLocationOption) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
MinimumRibHeight¶
-
KeywayChildBuilder.MinimumRibHeight¶ Returns or sets the minimum rib height of the keyway.
-------------------------------------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”)
Offset¶
-
KeywayChildBuilder.Offset¶ Returns or sets the offset of the keyway.
-------------------------------------Getter Method
Signature
OffsetReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
OffsetParameters: offset (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
PadHeight¶
-
KeywayChildBuilder.PadHeight¶ Returns or sets the pad height of the keyway.
-------------------------------------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¶
-
KeywayChildBuilder.PadWidth¶ Returns or sets the pad width of the keyway.
-------------------------------------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¶
-
KeywayChildBuilder.PlacementOffset¶ Returns or sets the placement offset of the keyway.
-------------------------------------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”)
Plane¶
-
KeywayChildBuilder.Plane¶ Returns or sets the plane of the keyway.
-------------------------------------Getter Method
Signature
PlaneReturns: Return type: NXOpen.IOrientationNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
PlaneParameters: plane ( NXOpen.IOrientation) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
ReverseOrientation¶
-
KeywayChildBuilder.ReverseOrientation¶ Returns or sets the value to reverse the orientation of the orientation plane, if true the keyway orientation normal will be reversed, if false it will not.
-------------------------------------Getter Method
Signature
ReverseOrientationReturns: Return type: bool New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
ReverseOrientationParameters: reverseOrientation (bool) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
RunoffDepth¶
-
KeywayChildBuilder.RunoffDepth¶ Returns or sets the runoff depth of the keyway.
-------------------------------------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¶
-
KeywayChildBuilder.RunoffDiameter¶ Returns or sets the runoff diameter of the keyway.
-------------------------------------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¶
-
KeywayChildBuilder.RunoffLength¶ Returns or sets the runoff length of the keyway.
-------------------------------------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¶
-
KeywayChildBuilder.RunoffType¶ Returns or sets the runoff type of the keyway.
-------------------------------------Getter Method
Signature
RunoffTypeReturns: Return type: NXOpen.Die.KeywayChildBuilderRunoffTypeOptionNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
RunoffTypeParameters: runoffType ( NXOpen.Die.KeywayChildBuilderRunoffTypeOption) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
RunoffWidth¶
-
KeywayChildBuilder.RunoffWidth¶ Returns or sets the runoff width of the keyway.
-------------------------------------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¶
-
KeywayChildBuilder.Width¶ Returns or sets the width of the keyway.
-------------------------------------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¶
GetPadAttributes¶
-
KeywayChildBuilder.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¶
-
KeywayChildBuilder.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¶
-
KeywayChildBuilder.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¶
-
KeywayChildBuilder.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¶
-
KeywayChildBuilder.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.