ViewSettingsBuilder Class

class NXOpen.Drawings.ViewSettingsBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a Drawings.ViewSettingsBuilder.

This class queries and sets settings specific to drawings data which will get converted to PMI.s

New in version NX11.0.0.

Properties

Property Description
AddSheetName Returns or sets the add sheet name
AddSheetNumber Returns or sets the add sheet number
ApplyCrosshatchToSectionView Returns or sets the apply crosshatch To section view
ConvertAnnotation Returns or sets the convert annotation
Prefix Returns or sets the prefix string
RenderingStyle Returns or sets the rendering style
SectionGeometryTolerance Returns or sets the section geometry tolerance
Separator Returns or sets the separator string
Tag Returns the Tag for this object.
UseAssemblyCrosshatch Returns or sets the use assembly crosshatch

Methods

Method Description
Validate Validate whether the inputs to the component are sufficient for commit to be called.

Enumerations

ViewSettingsBuilderRenderingStyleEnum Enumeration enum is used to list out different rendering style types

Property Detail

AddSheetName

ViewSettingsBuilder.AddSheetName

Returns or sets the add sheet name

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

Getter Method

Signature AddSheetName

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature AddSheetName

Parameters:addSheetName (bool) –

New in version NX11.0.0.

License requirements: drafting (“DRAFTING”)

AddSheetNumber

ViewSettingsBuilder.AddSheetNumber

Returns or sets the add sheet number

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

Getter Method

Signature AddSheetNumber

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature AddSheetNumber

Parameters:addSheetNumber (bool) –

New in version NX11.0.0.

License requirements: drafting (“DRAFTING”)

ApplyCrosshatchToSectionView

ViewSettingsBuilder.ApplyCrosshatchToSectionView

Returns or sets the apply crosshatch To section view

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

Getter Method

Signature ApplyCrosshatchToSectionView

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature ApplyCrosshatchToSectionView

Parameters:applyCrosshatchToSectionView (bool) –

New in version NX11.0.0.

License requirements: drafting (“DRAFTING”)

ConvertAnnotation

ViewSettingsBuilder.ConvertAnnotation

Returns or sets the convert annotation

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

Getter Method

Signature ConvertAnnotation

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature ConvertAnnotation

Parameters:convertAnnotation (bool) –

New in version NX11.0.0.

License requirements: drafting (“DRAFTING”)

Prefix

ViewSettingsBuilder.Prefix

Returns or sets the prefix string

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

Getter Method

Signature Prefix

Returns:
Return type:str

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature Prefix

Parameters:prefix (str) –

New in version NX11.0.0.

License requirements: drafting (“DRAFTING”)

RenderingStyle

ViewSettingsBuilder.RenderingStyle

Returns or sets the rendering style

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

Getter Method

Signature RenderingStyle

Returns:
Return type:NXOpen.Drawings.ViewSettingsBuilderRenderingStyleEnum

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature RenderingStyle

Parameters:renderingStyle (NXOpen.Drawings.ViewSettingsBuilderRenderingStyleEnum) –

New in version NX11.0.0.

License requirements: convert_to_pmi (” Convert To PMI”), drafting (“DRAFTING”)

SectionGeometryTolerance

ViewSettingsBuilder.SectionGeometryTolerance

Returns or sets the section geometry tolerance

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

Getter Method

Signature SectionGeometryTolerance

Returns:
Return type:float

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature SectionGeometryTolerance

Parameters:sectionGeometryTolerance (float) –

New in version NX11.0.0.

License requirements: convert_to_pmi (” Convert To PMI”), drafting (“DRAFTING”)

Separator

ViewSettingsBuilder.Separator

Returns or sets the separator string

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

Getter Method

Signature Separator

Returns:
Return type:str

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature Separator

Parameters:separator (str) –

New in version NX11.0.0.

License requirements: drafting (“DRAFTING”)

UseAssemblyCrosshatch

ViewSettingsBuilder.UseAssemblyCrosshatch

Returns or sets the use assembly crosshatch

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

Getter Method

Signature UseAssemblyCrosshatch

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature UseAssemblyCrosshatch

Parameters:useAssemblyCrosshatch (bool) –

New in version NX11.0.0.

License requirements: drafting (“DRAFTING”)

Method Detail

Validate

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