ViewCenterCoordinateBuilder Class¶
-
class
NXOpen.Drawings.ViewCenterCoordinateBuilder¶ Bases:
NXOpen.TaggedObject,NXOpen.GeometricUtilities.IComponentBuilderRepresents the View center coodinate (Drawings.
ViewCenterCoordinateBuilder) .. versionadded:: NX6.0.0
Properties¶
| Property | Description |
|---|---|
| Tag | Returns the Tag for this object. |
| XCoordinate | Returns or sets the X center coordinate |
| XCoordinateExp | Returns the expression for the X coordinate |
| YCoordinate | Returns or sets the Y center coordinate |
| YCoordinateExp | Returns the expression for the Y coordinate |
| ZCoordinate | Returns or sets the Z center coordinate |
| ZCoordinateExp | Returns the expression for the Z coordinate |
Methods¶
| Method | Description |
|---|---|
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
XCoordinate¶
-
ViewCenterCoordinateBuilder.XCoordinate¶ Returns or sets the X center coordinate
-------------------------------------Getter Method
Signature
XCoordinateReturns: returns the center coordinate. Return type: float New in version NX6.0.0.
Deprecated since version NX7.5.0: Use
NXOpen.Drawings.ViewCenterCoordinateBuilder.XCoordinateExp()License requirements: None.
-------------------------------------Setter Method
Signature
XCoordinateParameters: cenwcs (float) – sets the coordinate. New in version NX6.0.0.
Deprecated since version NX7.5.0: Use
NXOpen.Drawings.ViewCenterCoordinateBuilder.XCoordinateExp()License requirements: nx_layout (“NX Layout”)
XCoordinateExp¶
-
ViewCenterCoordinateBuilder.XCoordinateExp¶ Returns the expression for the X coordinate
-------------------------------------Getter Method
Signature
XCoordinateExpReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: None.
YCoordinate¶
-
ViewCenterCoordinateBuilder.YCoordinate¶ Returns or sets the Y center coordinate
-------------------------------------Getter Method
Signature
YCoordinateReturns: returns the center coordinate. Return type: float New in version NX6.0.0.
Deprecated since version NX7.5.0: Use
NXOpen.Drawings.ViewCenterCoordinateBuilder.YCoordinateExp()License requirements: None.
-------------------------------------Setter Method
Signature
YCoordinateParameters: cenwcs (float) – sets the coordinate. New in version NX6.0.0.
Deprecated since version NX7.5.0: Use
NXOpen.Drawings.ViewCenterCoordinateBuilder.YCoordinateExp()License requirements: nx_layout (“NX Layout”)
YCoordinateExp¶
-
ViewCenterCoordinateBuilder.YCoordinateExp¶ Returns the expression for the Y coordinate
-------------------------------------Getter Method
Signature
YCoordinateExpReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: None.
ZCoordinate¶
-
ViewCenterCoordinateBuilder.ZCoordinate¶ Returns or sets the Z center coordinate
-------------------------------------Getter Method
Signature
ZCoordinateReturns: returns the center coordinate. Return type: float New in version NX6.0.1.
Deprecated since version NX7.5.0: Use
NXOpen.Drawings.ViewCenterCoordinateBuilder.ZCoordinateExp()License requirements: None.
-------------------------------------Setter Method
Signature
ZCoordinateParameters: cenwcs (float) – sets the coordinate. New in version NX6.0.1.
Deprecated since version NX7.5.0: Use
NXOpen.Drawings.ViewCenterCoordinateBuilder.ZCoordinateExp()License requirements: nx_layout (“NX Layout”)
ZCoordinateExp¶
-
ViewCenterCoordinateBuilder.ZCoordinateExp¶ Returns the expression for the Z coordinate
-------------------------------------Getter Method
Signature
ZCoordinateExpReturns: Return type: NXOpen.ExpressionNew in version NX7.5.0.
License requirements: None.
Method Detail¶
Validate¶
-
ViewCenterCoordinateBuilder.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.