ViewWorkflowBuilder Class

class NXOpen.Drawings.ViewWorkflowBuilder

Bases: NXOpen.TaggedObject, NXOpen.GeometricUtilities.IComponentBuilder

Represents a NXOpen.Drawings.ViewWorkflowBuilder

New in version NX9.0.0.

Properties

Property Description
ActiveSketchViewColor Returns or sets the active views border color
AssociativeAlignment Returns or sets the associative alignment enable alignement between views
BorderColor Returns or sets the border color of view
CursorTracking Returns or sets the cursor tracking enable XC/YC coordinates in dynamic input boxes when placing a view on a drawing
DisplayBorders Returns or sets the display view borders on the the drawing
EnableSmoothEdgesForLWView Returns or sets the setting is not needed anymore because the smooth edges are correctly supported now for smart lightweight views.
FaceDisplay Returns or sets the face display provides options in an extracted edge view that are available for selection
HandlingBodies Returns or sets the handling bodies provides option for update view without lightweight data
HandlingBodiesTypes Returns or sets the handling bodies provides option for update view without lightweight data
LargeAssemblyStepThreshold Returns or sets the large assembly step threshold option establishes the minimum number of components (loaded or unloaded) a part may have to be considered a large assembly.
LoadComponentsOnDemand Returns or sets whether or not to load the components on demand for smart lightweight views
OnLegacyViewUpdate Returns or sets the on legacy view update determines whether or not components should be loaded as needed to update lightweight views
OnViewSelection Returns or sets the on view selection determines whether or not components should be loaded as needed for selection in lightweight views for accurate dimensioning
PreviewStyle Returns or sets the style of the preview when adding a view to the drawing
SelectGeometryProjectedAsArcs Returns or sets the Select Geometry Projected as Arcs provides options for selection of SPLARCs entity for centerlines and Annotations
ShowFacetEdges Returns or sets the show facet edges determines whether or not facet edges will be shown on shaded faces when displaying a drawing sheet
Tag Returns the Tag for this object.
UseLineAntialiasing Returns or sets the use line antialiasing
UseTranslucency Returns or sets the use translucency determines translucency settings for faces when displaying a drawing sheet

Methods

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

Enumerations

ViewWorkflowBuilderDisplay Enumeration Represents the extracted edge face display option
ViewWorkflowBuilderHandlingBodiesType Enumeration Represents option for handling bodies with no valid lightweight data
ViewWorkflowBuilderHandlingbodies Enumeration Represents option for handling bodies with no valid lightweight data
ViewWorkflowBuilderSplarcs Enumeration Represents the setting for splarcs geometry projected as arc option
ViewWorkflowBuilderStyle Enumeration Represents the preview stle option

Property Detail

ActiveSketchViewColor

ViewWorkflowBuilder.ActiveSketchViewColor

Returns or sets the active views border color

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

Getter Method

Signature ActiveSketchViewColor

Returns:
Return type:Id

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature ActiveSketchViewColor

Parameters:activeSketchViewColor (Id) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

AssociativeAlignment

ViewWorkflowBuilder.AssociativeAlignment

Returns or sets the associative alignment enable alignement between views

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

Getter Method

Signature AssociativeAlignment

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature AssociativeAlignment

Parameters:associativeAlignment (bool) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

BorderColor

ViewWorkflowBuilder.BorderColor

Returns or sets the border color of view

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

Getter Method

Signature BorderColor

Returns:
Return type:Id

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature BorderColor

Parameters:borderColor (Id) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

CursorTracking

ViewWorkflowBuilder.CursorTracking

Returns or sets the cursor tracking enable XC/YC coordinates in dynamic input boxes when placing a view on a drawing

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

Getter Method

Signature CursorTracking

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature CursorTracking

Parameters:cursorTracking (bool) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

DisplayBorders

ViewWorkflowBuilder.DisplayBorders

Returns or sets the display view borders on the the drawing

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

Getter Method

Signature DisplayBorders

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature DisplayBorders

Parameters:displayBorders (bool) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

EnableSmoothEdgesForLWView

ViewWorkflowBuilder.EnableSmoothEdgesForLWView

Returns or sets the setting is not needed anymore because the smooth edges are correctly supported now for smart lightweight views.

We recommend removing this call from existing programs.

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

Getter Method

Signature EnableSmoothEdgesForLWView

Returns:
Return type:bool

New in version NX9.0.0.

Deprecated since version NX11.0.0: Replacement is not needed. We recommend removing this call from existing programs.

License requirements: None.

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

Setter Method

Signature EnableSmoothEdgesForLWView

Parameters:enableSmoothEdgesForLWView (bool) –

New in version NX9.0.0.

Deprecated since version NX11.0.0: Replacement is not needed. We recommend removing this call from existing programs.

License requirements: drafting (“DRAFTING”)

FaceDisplay

ViewWorkflowBuilder.FaceDisplay

Returns or sets the face display provides options in an extracted edge view that are available for selection

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

Getter Method

Signature FaceDisplay

Returns:
Return type:NXOpen.Drawings.ViewWorkflowBuilderDisplay

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature FaceDisplay

Parameters:faceDisplay (NXOpen.Drawings.ViewWorkflowBuilderDisplay) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

HandlingBodies

ViewWorkflowBuilder.HandlingBodies

Returns or sets the handling bodies provides option for update view without lightweight data

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

Getter Method

Signature HandlingBodies

Returns:
Return type:NXOpen.Drawings.ViewWorkflowBuilderHandlingbodies

New in version NX9.0.0.

Deprecated since version NX9.0.3: Use NXOpen.Drawings.ViewWorkflowBuilder.HandlingBodiesTypes() instead.

License requirements: None.

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

Setter Method

Signature HandlingBodies

Parameters:handlingBodies (NXOpen.Drawings.ViewWorkflowBuilderHandlingbodies) –

New in version NX9.0.0.

Deprecated since version NX9.0.3: Use NXOpen.Drawings.ViewWorkflowBuilder.HandlingBodiesTypes() instead.

License requirements: drafting (“DRAFTING”)

HandlingBodiesTypes

ViewWorkflowBuilder.HandlingBodiesTypes

Returns or sets the handling bodies provides option for update view without lightweight data

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

Getter Method

Signature HandlingBodiesTypes

Returns:
Return type:NXOpen.Drawings.ViewWorkflowBuilderHandlingBodiesType

New in version NX9.0.3.

License requirements: None.

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

Setter Method

Signature HandlingBodiesTypes

Parameters:handlingBodiesTypes (NXOpen.Drawings.ViewWorkflowBuilderHandlingBodiesType) –

New in version NX9.0.3.

License requirements: None.

LargeAssemblyStepThreshold

ViewWorkflowBuilder.LargeAssemblyStepThreshold

Returns or sets the large assembly step threshold option establishes the minimum number of components (loaded or unloaded) a part may have to be considered a large assembly.

When the number of components exceeds this number, the View Creation Wizard provides an extra step to optimize part settings for large assemblies. A value of zero will force the system to always use the optimized part settings for large assemblies

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

Getter Method

Signature LargeAssemblyStepThreshold

Returns:
Return type:int

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature LargeAssemblyStepThreshold

Parameters:largeAssemblyStepThreshold (int) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

LoadComponentsOnDemand

ViewWorkflowBuilder.LoadComponentsOnDemand

Returns or sets whether or not to load the components on demand for smart lightweight views

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

Getter Method

Signature LoadComponentsOnDemand

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature LoadComponentsOnDemand

Parameters:loadComponentsOnDemand (bool) –

New in version NX11.0.0.

License requirements: drafting (“DRAFTING”)

OnLegacyViewUpdate

ViewWorkflowBuilder.OnLegacyViewUpdate

Returns or sets the on legacy view update determines whether or not components should be loaded as needed to update lightweight views

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

Getter Method

Signature OnLegacyViewUpdate

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature OnLegacyViewUpdate

Parameters:onLegacyViewUpdate (bool) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

OnViewSelection

ViewWorkflowBuilder.OnViewSelection

Returns or sets the on view selection determines whether or not components should be loaded as needed for selection in lightweight views for accurate dimensioning

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

Getter Method

Signature OnViewSelection

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature OnViewSelection

Parameters:onViewSelection (bool) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

PreviewStyle

ViewWorkflowBuilder.PreviewStyle

Returns or sets the style of the preview when adding a view to the drawing

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

Getter Method

Signature PreviewStyle

Returns:
Return type:NXOpen.Drawings.ViewWorkflowBuilderStyle

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature PreviewStyle

Parameters:previewStyle (NXOpen.Drawings.ViewWorkflowBuilderStyle) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

SelectGeometryProjectedAsArcs

ViewWorkflowBuilder.SelectGeometryProjectedAsArcs

Returns or sets the Select Geometry Projected as Arcs provides options for selection of SPLARCs entity for centerlines and Annotations

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

Getter Method

Signature SelectGeometryProjectedAsArcs

Returns:
Return type:NXOpen.Drawings.ViewWorkflowBuilderSplarcs

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature SelectGeometryProjectedAsArcs

Parameters:selectGeometryProjectedAsArcs (NXOpen.Drawings.ViewWorkflowBuilderSplarcs) –

New in version NX11.0.0.

License requirements: None.

ShowFacetEdges

ViewWorkflowBuilder.ShowFacetEdges

Returns or sets the show facet edges determines whether or not facet edges will be shown on shaded faces when displaying a drawing sheet

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

Getter Method

Signature ShowFacetEdges

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature ShowFacetEdges

Parameters:showFacetEdges (bool) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

UseLineAntialiasing

ViewWorkflowBuilder.UseLineAntialiasing

Returns or sets the use line antialiasing

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

Getter Method

Signature UseLineAntialiasing

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature UseLineAntialiasing

Parameters:useLineAntialiasing (bool) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

UseTranslucency

ViewWorkflowBuilder.UseTranslucency

Returns or sets the use translucency determines translucency settings for faces when displaying a drawing sheet

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

Getter Method

Signature UseTranslucency

Returns:
Return type:bool

New in version NX9.0.0.

License requirements: None.

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

Setter Method

Signature UseTranslucency

Parameters:useTranslucency (bool) –

New in version NX9.0.0.

License requirements: drafting (“DRAFTING”)

Method Detail

Validate

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