PackagingBuilder Class¶
-
class
NXOpen.Motion.
PackagingBuilder
¶ Bases:
NXOpen.Builder
This class an abstract class and base class for
NXOpen.Motion.PackagingMeasureBuilder
,NXOpen.Motion.PackagingTraceBuilder
andNXOpen.Motion.PackagingInterferenceBuilder
.It to be used in the creation and editing of subobjects of
NXOpen.Motion.Packaging
. This is an abstract class, and cannot be created.New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
Enable | Returns or sets the enable flag of NXOpen.Motion.Packaging object. |
Name | Returns or sets the name of NXOpen.Motion.Packaging object. |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Commit | Commits any edits that have been applied to the builder. |
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. |
GetList1 | Returns geometry list 1 of NXOpen.Motion.Packaging object. |
GetObject | Returns the object currently being edited by this builder. |
SetList1 | Sets geometry list 1. |
ShowResults | Updates the model to reflect the result of an edit to the model for all builders that support showing results. |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
Enable¶
-
PackagingBuilder.
Enable
¶ Returns or sets the enable flag of
NXOpen.Motion.Packaging
object.This attribute indicates whether the packaging option is to be executed during analysis post-processing. If TRUE, the packaging option is executed.
-------------------------------------
Getter Method
Signature
Enable
Returns: Enable flag of NXOpen.Motion.Packaging
object.Return type: bool New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
Enable
Parameters: enable (bool) – Enable flag of NXOpen.Motion.Packaging
object.New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
Name¶
-
PackagingBuilder.
Name
¶ Returns or sets the name of
NXOpen.Motion.Packaging
object.-------------------------------------
Getter Method
Signature
Name
Returns: The Name of NXOpen.Motion.Packaging
object.Return type: str New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
Name
Parameters: name (str) – The Name of NXOpen.Motion.Packaging
object.New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
Method Detail¶
GetList1¶
-
PackagingBuilder.
GetList1
¶ Returns geometry list 1 of
NXOpen.Motion.Packaging
object.Interference and Measure can have one or two lists defined. If the user defines only one list, then interference or measure checks will be done between each of the objects in list 1. Trace only uses one list definition.
Signature
GetList1()
Returns: The list pointer Return type: list of NXOpen.DisplayableObject
New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
SetList1¶
-
PackagingBuilder.
SetList1
¶ Sets geometry list 1.
Signature
SetList1(list1)
Parameters: list1 (list of NXOpen.DisplayableObject
) – The list pointerNew in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
Validate¶
-
PackagingBuilder.
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.