SessionDrafting Class

class NXOpen.Preferences.SessionDrafting

Bases: object

Represents the set of Drafting preferences applicable to entire session

To obtain an instance of this class, refer to NXOpen.Preferences.SessionPreferences

New in version NX3.0.0.

Properties

Property Description
AutomaticCustomSymbolUpdate Returns or sets the automatic update drafting preferences for custom symbol
DynamicAlignment Returns or sets the dynamic alignment flag.
ExtractedEdgeFaceDisplay Returns or sets the extracted edge face display
ForcedWelcomeMode Returns or sets the Drafting Welcome mode, for autotests only
GridObject Returns or sets the drafting grid object.
LoadComponentOnFacetedViewSelection Returns or sets the load on selection flag
LoadComponentOnFacetedViewUpdate Returns or sets the load on update flag
SmartlightweightViewsLoadComponentOnDemand Returns or sets the load on demand flag

Methods

Enumerations

SessionDraftingAnnotationStyleType Enumeration Describes the available types for annotation style preference
SessionDraftingEdgeFaceDisplayType Enumeration Describes the available edge face display types
SessionDraftingGridObjectType Enumeration Describes the available grid objects

Property Detail

AutomaticCustomSymbolUpdate

SessionDrafting.AutomaticCustomSymbolUpdate

Returns or sets the automatic update drafting preferences for custom symbol

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

Getter Method

Signature AutomaticCustomSymbolUpdate

Returns:
Return type:bool

New in version NX8.0.1.

License requirements: None.

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

Setter Method

Signature AutomaticCustomSymbolUpdate

Parameters:automaticUpdateOption (bool) –

New in version NX8.0.1.

License requirements: None.

DynamicAlignment

SessionDrafting.DynamicAlignment

Returns or sets the dynamic alignment flag.

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

Getter Method

Signature DynamicAlignment

Returns:
Return type:bool

New in version NX3.0.0.

License requirements: None.

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

Setter Method

Signature DynamicAlignment

Parameters:dynamicAlignment (bool) –

New in version NX3.0.0.

License requirements: None.

ExtractedEdgeFaceDisplay

SessionDrafting.ExtractedEdgeFaceDisplay

Returns or sets the extracted edge face display

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

Getter Method

Signature ExtractedEdgeFaceDisplay

Returns:
Return type:NXOpen.Preferences.SessionDraftingEdgeFaceDisplayType

New in version NX3.0.0.

License requirements: None.

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

Setter Method

Signature ExtractedEdgeFaceDisplay

Parameters:extractedEdgeFaceDisplay (NXOpen.Preferences.SessionDraftingEdgeFaceDisplayType) –

New in version NX3.0.0.

License requirements: None.

ForcedWelcomeMode

SessionDrafting.ForcedWelcomeMode

Returns or sets the Drafting Welcome mode, for autotests only

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

Getter Method

Signature ForcedWelcomeMode

Returns:0: no welcome, 1: ALWAYS welcome, 2: default
Return type:int

New in version NX8.0.0.

License requirements: None.

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

Setter Method

Signature ForcedWelcomeMode

Parameters:enterWelcomeMode (int) – 0: do NOT use welcome, 1: ALWAYS use welcome

New in version NX8.0.0.

License requirements: None.

GridObject

SessionDrafting.GridObject

Returns or sets the drafting grid object.

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

Getter Method

Signature GridObject

Returns:
Return type:NXOpen.Preferences.SessionDraftingGridObjectType

New in version NX6.0.2.

License requirements: None.

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

Setter Method

Signature GridObject

Parameters:drawingGridObject (NXOpen.Preferences.SessionDraftingGridObjectType) –

New in version NX6.0.2.

License requirements: None.

LoadComponentOnFacetedViewSelection

SessionDrafting.LoadComponentOnFacetedViewSelection

Returns or sets the load on selection flag

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

Getter Method

Signature LoadComponentOnFacetedViewSelection

Returns:
Return type:bool

New in version NX3.0.0.

License requirements: None.

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

Setter Method

Signature LoadComponentOnFacetedViewSelection

Parameters:loadComponentOnFacetedViewSelection (bool) –

New in version NX3.0.0.

License requirements: None.

LoadComponentOnFacetedViewUpdate

SessionDrafting.LoadComponentOnFacetedViewUpdate

Returns or sets the load on update flag

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

Getter Method

Signature LoadComponentOnFacetedViewUpdate

Returns:
Return type:bool

New in version NX3.0.0.

License requirements: None.

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

Setter Method

Signature LoadComponentOnFacetedViewUpdate

Parameters:loadComponentOnFacetedViewUpdate (bool) –

New in version NX3.0.0.

License requirements: None.

SmartlightweightViewsLoadComponentOnDemand

SessionDrafting.SmartlightweightViewsLoadComponentOnDemand

Returns or sets the load on demand flag

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

Getter Method

Signature SmartlightweightViewsLoadComponentOnDemand

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

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

Setter Method

Signature SmartlightweightViewsLoadComponentOnDemand

Parameters:loadComponentOnDemand (bool) –

New in version NX11.0.0.

License requirements: None.