PortVariableCollection Class

class NXOpen.Motion.PortVariableCollection

Bases: object

Represents a collection of ports used to expose results on Mechatronics port variables

To obtain an instance of this class, refer to NXOpen.Motion.Mechatronics

New in version NX11.0.0.

Methods

Method Description
FindObject Finds the Motion.ControlPort variable with the given name.

Method Detail

FindObject

PortVariableCollection.FindObject

Finds the Motion.ControlPort variable with the given name.

An exception will be thrown if no object can be found with given name.

Signature FindObject(name)

Parameters:name (str) –
Returns:
Return type:NXOpen.Motion.ControlPort

New in version NX11.0.0.

License requirements: mechanisms (“MECHANISMS”)