OutputPortAssociation Class¶
-
class
NXOpen.Motion.
OutputPortAssociation
¶ Bases:
NXOpen.Motion.PortAssociation
Represents a
Motion.OutputPortAssociation
.This class contains the port association for the output of a mechatronics element To create a new instance of this class, use
NXOpen.Motion.MechatronicsBuilder.NewOutputListItem()
New in version NX11.0.0.
Properties¶
Property | Description |
---|---|
AssociatedPortName | Returns or sets the created and associated port name |
Name | Returns or sets the mechatronics port name |
Offset | Returns the offset |
Port | Returns the associated port |
ScaleFactor | Returns the scale factor |
Tag | Returns the Tag for this object. |
Methods¶
Method | Description |
---|---|
Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
AssociatedPortName¶
-
OutputPortAssociation.
AssociatedPortName
¶ Returns or sets the created and associated port name
-------------------------------------
Getter Method
Signature
AssociatedPortName
Returns: Return type: str New in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
-------------------------------------
Setter Method
Signature
AssociatedPortName
Parameters: associatedPortName (str) – New in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
Port¶
-
OutputPortAssociation.
Port
¶ Returns the associated port
-------------------------------------
Getter Method
Signature
Port
Returns: Return type: NXOpen.Motion.ControlPort
New in version NX11.0.0.
License requirements: mechanisms (“MECHANISMS”)
Method Detail¶
Validate¶
-
OutputPortAssociation.
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.