DisplayStyleBuilder Class

class NXOpen.Annotations.DisplayStyleBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a NXOpen.Annotations.DisplayStyleBuilder.

This is a sub-builder class and cannot be directly instantiated

New in version NX11.0.1.

Properties

Property Description
LockSizeAndPosition Returns or sets the PMI lock pan and zoom setting
ParallelToScreen Returns or sets the PMI parallel to screen setting
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

LockSizeAndPosition

DisplayStyleBuilder.LockSizeAndPosition

Returns or sets the PMI lock pan and zoom setting

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

Getter Method

Signature LockSizeAndPosition

Returns:
Return type:bool

New in version NX11.0.1.

License requirements: None.

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

Setter Method

Signature LockSizeAndPosition

Parameters:lockSizeAndPosition (bool) –

New in version NX11.0.1.

License requirements: geometric_tol (“GDT”)

ParallelToScreen

DisplayStyleBuilder.ParallelToScreen

Returns or sets the PMI parallel to screen setting

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

Getter Method

Signature ParallelToScreen

Returns:
Return type:bool

New in version NX11.0.1.

License requirements: None.

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

Setter Method

Signature ParallelToScreen

Parameters:parallelToScreen (bool) –

New in version NX11.0.1.

License requirements: geometric_tol (“GDT”)

Method Detail

Validate

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