PortsManagerBuilder Class

class NXOpen.AME.PortsManagerBuilder

Bases: NXOpen.Builder

Provides journal methods for the ports manager dialog.

To create a new instance of this class, use NXOpen.AME.AMEManager.CreatePortsManagerBuilder()

New in version NX11.0.0.

Properties

Property Description
Tag Returns the Tag for this object.

Methods

Method Description
Commit Commits any edits that have been applied to the builder.
CreateConnections Creates the connections
Destroy Deletes the builder, and cleans up any objects created by the builder.
Disconnect Disconnects port
GetCommittedObjects For builders that create more than one object, this method returns the objects that are created by commit.
GetExpression Gets the dynamic connection expression
GetObject Returns the object currently being edited by this builder.
SetExpression Sets the dynamic connection expression
SetPort Sets the source port of the connection
ShowResults Updates the model to reflect the result of an edit to the model for all builders that support showing results.
UpdateSelection Updates the IPortsContainer selection
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Method Detail

CreateConnections

PortsManagerBuilder.CreateConnections

Creates the connections

Signature CreateConnections(source)

Parameters:source (NXOpen.NXObject) –
Returns:
Return type:list of NXOpen.NXObject

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

Disconnect

PortsManagerBuilder.Disconnect

Disconnects port

Signature Disconnect(port)

Parameters:port (NXOpen.NXObject) –

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

GetExpression

PortsManagerBuilder.GetExpression

Gets the dynamic connection expression

Signature GetExpression()

Returns:
Return type:NXOpen.NXObject

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

SetExpression

PortsManagerBuilder.SetExpression

Sets the dynamic connection expression

Signature SetExpression(exp)

Parameters:exp (NXOpen.NXObject) –

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

SetPort

PortsManagerBuilder.SetPort

Sets the source port of the connection

Signature SetPort(exp)

Parameters:exp (NXOpen.NXObject) –

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

UpdateSelection

PortsManagerBuilder.UpdateSelection

Updates the IPortsContainer selection

Signature UpdateSelection(port)

Parameters:port (NXOpen.NXObject) –

New in version NX11.0.0.

License requirements: ad_automation_design (“FULL AUTOMATION DESIGNER”)

Validate

PortsManagerBuilder.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.