PackagingInterferenceBuilder Class¶
-
class
NXOpen.Motion.
PackagingInterferenceBuilder
¶ Bases:
NXOpen.Motion.PackagingBuilder
This the builder class to create or edit an Interference object.
To create a new instance of this class, use
NXOpen.Motion.PackagingCollection.CreateInterferenceBuilder()
New in version NX4.0.0.
Properties¶
Property | Description |
---|---|
ActionType | Returns or sets the NXOpen.Motion.PackagingInterference action type defined at NXOpen.Motion.PackagingInterferenceBuilderAction |
ClearanceExpression | Returns the clearance expression value |
Enable | Returns or sets the enable flag of NXOpen.Motion.Packaging object. |
FrameType | Returns or sets the NXOpen.Motion.PackagingInterference frame type defined at NXOpen.Motion.PackagingInterferenceBuilderFrame |
ModeType | Returns or sets the NXOpen.Motion.PackagingInterference mode type defined at NXOpen.Motion.PackagingInterferenceBuilderMode |
Name | Returns or sets the name of NXOpen.Motion.Packaging object. |
StopOnEvent | Returns or sets the Stop_On_Event flag of NXOpen.Motion.PackagingInterference 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. |
GetList2 | Gets the geometry list 2 of NXOpen.Motion.PackagingInterference object. |
GetObject | Returns the object currently being edited by this builder. |
GetRelativeLinks | Returns NXOpen.Motion.PackagingInterference user selected relative links. |
SetList1 | Sets geometry list 1. |
SetList2 | Sets the geometry list 2 of NXOpen.Motion.PackagingInterference object. |
SetRelativeLinks | Sets NXOpen.Motion.PackagingInterference user selected relative links. |
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. |
Enumerations¶
PackagingInterferenceBuilderAction Enumeration | Interference action type |
PackagingInterferenceBuilderFrame Enumeration | Interference solid reference frame type. |
PackagingInterferenceBuilderMode Enumeration | Interference calculation mode type |
Property Detail¶
ActionType¶
-
PackagingInterferenceBuilder.
ActionType
¶ Returns or sets the
NXOpen.Motion.PackagingInterference
action type defined atNXOpen.Motion.PackagingInterferenceBuilderAction
-------------------------------------
Getter Method
Signature
ActionType
Returns: Return type: NXOpen.Motion.PackagingInterferenceBuilderAction
New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
ActionType
Parameters: aType ( NXOpen.Motion.PackagingInterferenceBuilderAction
) –New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
ClearanceExpression¶
-
PackagingInterferenceBuilder.
ClearanceExpression
¶ Returns the clearance expression value
-------------------------------------
Getter Method
Signature
ClearanceExpression
Returns: Return type: NXOpen.Expression
New in version NX8.5.0.
License requirements: mechanisms (“MECHANISMS”)
FrameType¶
-
PackagingInterferenceBuilder.
FrameType
¶ Returns or sets the
NXOpen.Motion.PackagingInterference
frame type defined atNXOpen.Motion.PackagingInterferenceBuilderFrame
-------------------------------------
Getter Method
Signature
FrameType
Returns: Return type: NXOpen.Motion.PackagingInterferenceBuilderFrame
New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
FrameType
Parameters: fType ( NXOpen.Motion.PackagingInterferenceBuilderFrame
) –New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
ModeType¶
-
PackagingInterferenceBuilder.
ModeType
¶ Returns or sets the
NXOpen.Motion.PackagingInterference
mode type defined atNXOpen.Motion.PackagingInterferenceBuilderMode
-------------------------------------
Getter Method
Signature
ModeType
Returns: Return type: NXOpen.Motion.PackagingInterferenceBuilderMode
New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
ModeType
Parameters: mType ( NXOpen.Motion.PackagingInterferenceBuilderMode
) –New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
StopOnEvent¶
-
PackagingInterferenceBuilder.
StopOnEvent
¶ Returns or sets the Stop_On_Event flag of
NXOpen.Motion.PackagingInterference
object-------------------------------------
Getter Method
Signature
StopOnEvent
Returns: Return type: bool New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
StopOnEvent
Parameters: stopOnEvent (bool) – New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
Method Detail¶
GetList2¶
-
PackagingInterferenceBuilder.
GetList2
¶ Gets the geometry list 2 of
NXOpen.Motion.PackagingInterference
object.Interference can have one or two lists defined. If the user defines two lists, then interference checks will be done between each object in list 1 against each object in list 2.
Signature
GetList2()
Returns: Return type: list of NXOpen.DisplayableObject
New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
GetRelativeLinks¶
-
PackagingInterferenceBuilder.
GetRelativeLinks
¶ Returns
NXOpen.Motion.PackagingInterference
user selected relative links.Only available when frame type is :py:class:` NXOpen.Motion.PackagingInterferenceBuilderFrame.Selected < NXOpen.Motion.PackagingInterferenceBuilderFrame>`.
Signature
GetRelativeLinks()
Returns: Return type: list of NXOpen.DisplayableObject
New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
SetList2¶
-
PackagingInterferenceBuilder.
SetList2
¶ Sets the geometry list 2 of
NXOpen.Motion.PackagingInterference
object.Signature
SetList2(list2)
Parameters: list2 (list of NXOpen.DisplayableObject
) –New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
SetRelativeLinks¶
-
PackagingInterferenceBuilder.
SetRelativeLinks
¶ Sets
NXOpen.Motion.PackagingInterference
user selected relative links.Only used when frame type is :py:class:` NXOpen.Motion.PackagingInterferenceBuilderFrame.Selected < NXOpen.Motion.PackagingInterferenceBuilderFrame>`.
Signature
SetRelativeLinks(links)
Parameters: links (list of NXOpen.DisplayableObject
) –New in version NX4.0.0.
License requirements: mechanisms (“MECHANISMS”)
Validate¶
-
PackagingInterferenceBuilder.
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.