BaseViewStyle Class

class NXOpen.Drawings.BaseViewStyle

Bases: object

Represents set of Base View Style Preferences applicable to drafting views.

To obtain an instance of this class use Drawings.ViewStyle.BaseView()

New in version NX5.0.0.

Methods

Method Description
LoadModelFromPart To load the assemblies arrangement part file.
SetAssemblyArrangement Sets the configuration for the arrangement in assembly after an arrangement part file is loaded.
SetFacetedRepresentation The status of faceted representation, if True the clipping bounds are inherited, else the imported model view is placed on the drawing with an Automatic Rectangular Boundary.
SetInheritClippingBoundary The status of inherit clipping boundary, if True the model view’s clipping boundary are inherited when model view is imported onto the drawing, else the imported model view is placed on the drawing with an Automatic Rectangular Boundary.
SetTransferAnnotation The status of transfer annotation controls whether or not annotations created in a model view are transferred to the drawing when a view is imported.

Method Detail

LoadModelFromPart

BaseViewStyle.LoadModelFromPart

To load the assemblies arrangement part file.

If the logical argument is True, the part would be loaded.

Signature LoadModelFromPart(loadPartName, loadPartToggle)

Parameters:
  • loadPartName (str) – name of the loaded part
  • loadPartToggle (bool) – True or False status for loading the part.

New in version NX5.0.0.

License requirements: drafting (“DRAFTING”)

SetAssemblyArrangement

BaseViewStyle.SetAssemblyArrangement

Sets the configuration for the arrangement in assembly after an arrangement part file is loaded.

Signature SetAssemblyArrangement(config)

Parameters:config (str) – name of the configuration for the arrangement

New in version NX5.0.0.

License requirements: drafting (“DRAFTING”)

SetFacetedRepresentation

BaseViewStyle.SetFacetedRepresentation

The status of faceted representation, if True the clipping bounds are inherited, else the imported model view is placed on the drawing with an Automatic Rectangular Boundary.

Signature SetFacetedRepresentation(isFacetedRepresentation)

Parameters:isFacetedRepresentation (bool) –

New in version NX5.0.0.

Deprecated since version NX8.5.1: Use Drawings.GeneralViewStyle.ViewRepresentation() instead.

License requirements: drafting (“DRAFTING”)

SetInheritClippingBoundary

BaseViewStyle.SetInheritClippingBoundary

The status of inherit clipping boundary, if True the model view’s clipping boundary are inherited when model view is imported onto the drawing, else the imported model view is placed on the drawing with an Automatic Rectangular Boundary.

Signature SetInheritClippingBoundary(isInheritClippingBoundary)

Parameters:isInheritClippingBoundary (bool) – Inherit XY clipping boundaries of model

New in version NX5.0.0.

License requirements: drafting (“DRAFTING”)

SetTransferAnnotation

BaseViewStyle.SetTransferAnnotation

The status of transfer annotation controls whether or not annotations created in a model view are transferred to the drawing when a view is imported.

Signature SetTransferAnnotation(isTransferAnnotation)

Parameters:isTransferAnnotation (bool) –

New in version NX5.0.0.

License requirements: drafting (“DRAFTING”)