ViewCenterCoordinateBuilder Class

class NXOpen.Drawings.ViewCenterCoordinateBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents 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 XCoordinate

Returns: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 XCoordinate

Parameters: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 XCoordinateExp

Returns:
Return type:NXOpen.Expression

New in version NX7.5.0.

License requirements: None.

YCoordinate

ViewCenterCoordinateBuilder.YCoordinate

Returns or sets the Y center coordinate

-------------------------------------

Getter Method

Signature YCoordinate

Returns: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 YCoordinate

Parameters: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 YCoordinateExp

Returns:
Return type:NXOpen.Expression

New in version NX7.5.0.

License requirements: None.

ZCoordinate

ViewCenterCoordinateBuilder.ZCoordinate

Returns or sets the Z center coordinate

-------------------------------------

Getter Method

Signature ZCoordinate

Returns: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 ZCoordinate

Parameters: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 ZCoordinateExp

Returns:
Return type:NXOpen.Expression

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