ObjectConnectionBuilder Class¶
-
class
NXOpen.AME.
ObjectConnectionBuilder
¶ Bases:
NXOpen.TaggedObject
,NXOpen.GeometricUtilities.IComponentBuilder
JA class for the reuse object connection block
New in version NX11.0.0.
Properties¶
Property | Description |
---|---|
ResultString | Returns the result string text |
Tag | Returns the Tag for this object. |
TargetObjectSelection | Returns the selection of target objects |
Methods¶
Method | Description |
---|---|
ConnectDynamic | Create a new dynamic connection |
ConnectFix | Create a new fix connection |
Disconnect | Disconnect the current connection |
GetConnectedObjects | Get the actual connectedObjects |
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
ResultString¶
-
ObjectConnectionBuilder.
ResultString
¶ Returns the result string text
-------------------------------------
Getter Method
Signature
ResultString
Returns: Return type: str New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
TargetObjectSelection¶
-
ObjectConnectionBuilder.
TargetObjectSelection
¶ Returns the selection of target objects
-------------------------------------
Getter Method
Signature
TargetObjectSelection
Returns: Return type: NXOpen.SelectNXObjectList
New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
Method Detail¶
ConnectDynamic¶
-
ObjectConnectionBuilder.
ConnectDynamic
¶ Create a new dynamic connection
Signature
ConnectDynamic(exp)
Parameters: exp ( NXOpen.Expression
) –New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
ConnectFix¶
-
ObjectConnectionBuilder.
ConnectFix
¶ Create a new fix connection
Signature
ConnectFix()
New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
Disconnect¶
-
ObjectConnectionBuilder.
Disconnect
¶ Disconnect the current connection
Signature
Disconnect()
New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
GetConnectedObjects¶
-
ObjectConnectionBuilder.
GetConnectedObjects
¶ Get the actual connectedObjects
Signature
GetConnectedObjects()
Returns: Return type: list of NXOpen.NXObject
New in version NX11.0.0.
License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)
Validate¶
-
ObjectConnectionBuilder.
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.