PadChildBuilder Class¶
-
class
NXOpen.Die.PadChildBuilder¶ Bases:
NXOpen.Features.FeatureBuilderRepresents a Die Pad 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 die pad. |
| CenterHole | Returns or sets the center hole switch of the die pad, if true the center hole will be created in the pad, if false it will not. |
| DesignStatus | Returns or sets the design status of the die pad, if true the pad will be built into the model, if false it will not. |
| Diameter | Returns or sets the diameter of the die pad. |
| DisplayStatus | Returns or sets the display status of the die pad, if true input data to the pad will be displayed, if false the input data will not be displayed. |
| Height | Returns or sets the height of the die pad. |
| HoleDiameter | Returns or sets the hole diameter of the die pad. |
| Length | Returns or sets the length of the die pad. |
| LimitingSurface | Returns or sets the limiting surface of the die pad. |
| Location | Returns or sets the location of the die pad. |
| LocationOffset | Returns or sets the location offset of the die pad. |
| LocationOffsetDirection | Returns or sets the location offset direction of the die pad. |
| OrientationPlane | Returns or sets the orientation plane of the die pad. |
| 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 |
| Relief | Returns or sets the relief switch of the die pad, if true the relief will be built around the pad, if false it will not. |
| ReliefDepth | Returns or sets the relief depth of the die pad. |
| ReliefWidth | Returns or sets the relief width of the die pad. |
| ReverseOrientation | Returns or sets the value to reverse the orientation of the orientation plane, if true the pad orientation normal will be reversed, if false it will not. |
| ShapeType | Returns or sets the shape type of the die pad. |
| SurfaceOffset | Returns or sets the surface offset of the die pad. |
| SurroundingPatchSurfaceFilename | Returns or sets the surrounding patch surface filename |
| Tag | Returns the Tag for this object. |
| Width | Returns or sets the width of the die pad. |
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. |
| GetHoleAttributes | Gets the hole attributes, note existance of attributes depends on usage in main feature. |
| GetHoleCenters | Gets the hole centers of the die pad. |
| 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. |
| GetReliefAttributes | Gets the relief attributes, note existance of attributes depends on usage in main feature. |
| GetShape | Gets the shape profile of the die pads. |
| HideInternalParentFeatureAfterEdit | Re-suppress an internal parent feature (a slave feature) after it has been edited. |
| SetHoleAttributes | Sets the hole attributes, note existance of attributes depends on usage in main feature. |
| SetHoleCenters | Sets the hole centers of the die pad. |
| 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 |
| SetReliefAttributes | Sets the relief attributes, note existance of attributes depends on usage in main feature. |
| SetShape | Sets the shape profile of the die pad. |
| 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. |
| TranslateLocation | Translates the location of the die pad by the specified amount. |
| 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¶
| PadChildBuilderShapeTypeOption Enumeration | Settings for the shape type of the die pad. |
Property Detail¶
BuildStatus¶
-
PadChildBuilder.BuildStatus¶ Returns the build status of the die pad.
-------------------------------------Getter Method
Signature
BuildStatusReturns: Return type: NXOpen.Die.DieBuildStatusOptionNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
CenterHole¶
-
PadChildBuilder.CenterHole¶ Returns or sets the center hole switch of the die pad, if true the center hole will be created in the pad, if false it will not.
-------------------------------------Getter Method
Signature
CenterHoleReturns: Return type: bool New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
CenterHoleParameters: centerHole (bool) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
DesignStatus¶
-
PadChildBuilder.DesignStatus¶ Returns or sets the design status of the die pad, if true the pad 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”)
Diameter¶
-
PadChildBuilder.Diameter¶ Returns or sets the diameter of the die pad.
-------------------------------------Getter Method
Signature
DiameterReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
DiameterParameters: diameter (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
DisplayStatus¶
-
PadChildBuilder.DisplayStatus¶ Returns or sets the display status of the die pad, if true input data to the pad 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”)
Height¶
-
PadChildBuilder.Height¶ Returns or sets the height of the die pad.
-------------------------------------Getter Method
Signature
HeightReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
HeightParameters: height (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
HoleDiameter¶
-
PadChildBuilder.HoleDiameter¶ Returns or sets the hole diameter of the die pad.
-------------------------------------Getter Method
Signature
HoleDiameterReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
HoleDiameterParameters: holeDiameter (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Length¶
-
PadChildBuilder.Length¶ Returns or sets the length of the die pad.
-------------------------------------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”)
LimitingSurface¶
-
PadChildBuilder.LimitingSurface¶ Returns or sets the limiting surface of the die pad.
-------------------------------------Getter Method
Signature
LimitingSurfaceReturns: Return type: NXOpen.IOrientationNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
LimitingSurfaceParameters: limitingSurface ( NXOpen.IOrientation) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Location¶
-
PadChildBuilder.Location¶ Returns or sets the location of the die pad.
-------------------------------------Getter Method
Signature
LocationReturns: Return type: NXOpen.ILocationNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
LocationParameters: location ( NXOpen.ILocation) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
LocationOffset¶
-
PadChildBuilder.LocationOffset¶ Returns or sets the location offset of the die pad.
-------------------------------------Getter Method
Signature
LocationOffsetReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
LocationOffsetParameters: locationOffset (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
LocationOffsetDirection¶
-
PadChildBuilder.LocationOffsetDirection¶ Returns or sets the location offset direction of the die pad.
-------------------------------------Getter Method
Signature
LocationOffsetDirectionReturns: Return type: NXOpen.IReferenceAxisNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
LocationOffsetDirectionParameters: locationOffsetDirection ( NXOpen.IReferenceAxis) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
OrientationPlane¶
-
PadChildBuilder.OrientationPlane¶ Returns or sets the orientation plane of the die pad.
-------------------------------------Getter Method
Signature
OrientationPlaneReturns: Return type: NXOpen.IOrientationNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
OrientationPlaneParameters: orientationPlane ( NXOpen.IOrientation) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Relief¶
-
PadChildBuilder.Relief¶ Returns or sets the relief switch of the die pad, if true the relief will be built around the pad, if false it will not.
-------------------------------------Getter Method
Signature
ReliefReturns: Return type: bool New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
ReliefParameters: relief (bool) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
ReliefDepth¶
-
PadChildBuilder.ReliefDepth¶ Returns or sets the relief depth of the die pad.
-------------------------------------Getter Method
Signature
ReliefDepthReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
ReliefDepthParameters: reliefDepth (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
ReliefWidth¶
-
PadChildBuilder.ReliefWidth¶ Returns or sets the relief width of the die pad.
-------------------------------------Getter Method
Signature
ReliefWidthReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
ReliefWidthParameters: reliefWidth (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
ReverseOrientation¶
-
PadChildBuilder.ReverseOrientation¶ Returns or sets the value to reverse the orientation of the orientation plane, if true the pad 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”)
ShapeType¶
-
PadChildBuilder.ShapeType¶ Returns or sets the shape type of the die pad.
-------------------------------------Getter Method
Signature
ShapeTypeReturns: Return type: NXOpen.Die.PadChildBuilderShapeTypeOptionNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
ShapeTypeParameters: shapeType ( NXOpen.Die.PadChildBuilderShapeTypeOption) –New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
SurfaceOffset¶
-
PadChildBuilder.SurfaceOffset¶ Returns or sets the surface offset of the die pad.
-------------------------------------Getter Method
Signature
SurfaceOffsetReturns: Return type: float New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
-------------------------------------Setter Method
Signature
SurfaceOffsetParameters: surfaceOffset (float) – New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Width¶
-
PadChildBuilder.Width¶ Returns or sets the width of the die pad.
-------------------------------------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¶
GetHoleAttributes¶
-
PadChildBuilder.GetHoleAttributes¶ Gets the hole attributes, note existance of attributes depends on usage in main feature.
Signature
GetHoleAttributes()Returns: a tuple Return type: A tuple consisting of (title, value, color, diameterTitle) title is a str. Title for attribute. value is a str. Value of attribute. color is a int. Color of hole faces. diameterTitle is a str. Title for diameter attribute. New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
GetHoleCenters¶
-
PadChildBuilder.GetHoleCenters¶ Gets the hole centers of the die pad.
Signature
GetHoleCenters()Returns: The hole centers. Return type: list of NXOpen.PointNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
GetPadAttributes¶
-
PadChildBuilder.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”)
GetReliefAttributes¶
-
PadChildBuilder.GetReliefAttributes¶ Gets the relief attributes, note existance of attributes depends on usage in main feature.
Signature
GetReliefAttributes()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 relief faces. New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
GetShape¶
-
PadChildBuilder.GetShape¶ Gets the shape profile of the die pads.
Signature
GetShape()Returns: a tuple Return type: A tuple consisting of (profileEntries, direction). profileEntries is a list of NXOpen.IProfile. The profile entries, will be curves, edges, faces, sketches or curve features. direction is aNXOpen.Die.DirectionOption. Profile direction.New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
SetHoleAttributes¶
-
PadChildBuilder.SetHoleAttributes¶ Sets the hole attributes, note existance of attributes depends on usage in main feature.
Signature
SetHoleAttributes(title, value, color, diameterTitle)Parameters: - title (str) – Title for attribute.
- value (str) – Value of attribute.
- color (int) – Color of hole faces.
- diameterTitle (str) – Title for diameter attribute.
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
SetHoleCenters¶
-
PadChildBuilder.SetHoleCenters¶ Sets the hole centers of the die pad.
Signature
SetHoleCenters(holes)Parameters: holes (list of NXOpen.Point) – The hole centers.New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
SetPadAttributes¶
-
PadChildBuilder.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”)
SetReliefAttributes¶
-
PadChildBuilder.SetReliefAttributes¶ Sets the relief attributes, note existance of attributes depends on usage in main feature.
Signature
SetReliefAttributes(title, value, color)Parameters: - title (str) – Title for attribute.
- value (str) – Value of attribute.
- color (int) – Color of relief faces.
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
SetShape¶
-
PadChildBuilder.SetShape¶ Sets the shape profile of the die pad.
Signature
SetShape(direction, profileEntries)Parameters: - direction (
NXOpen.Die.DirectionOption) – Profile direction. - profileEntries (list of
NXOpen.IProfile) – The profile entries, can be curves, edges, faces, sketches or curve features.
New in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
- direction (
TranslateLocation¶
-
PadChildBuilder.TranslateLocation¶ Translates the location of the die pad by the specified amount.
Signature
TranslateLocation(translateDist)Parameters: translateDist ( NXOpen.Vector3d) – A scaled vector indicating the distance to translateNew in version NX4.0.0.
License requirements: ug_die_design (“Die Design”)
Validate¶
-
PadChildBuilder.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.