SessionDrafting Class¶
-
class
NXOpen.Preferences.SessionDrafting¶ Bases:
objectRepresents the set of Drafting preferences applicable to entire session
To obtain an instance of this class, refer to
NXOpen.Preferences.SessionPreferencesNew 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
AutomaticCustomSymbolUpdateReturns: Return type: bool New in version NX8.0.1.
License requirements: None.
-------------------------------------Setter Method
Signature
AutomaticCustomSymbolUpdateParameters: automaticUpdateOption (bool) – New in version NX8.0.1.
License requirements: None.
DynamicAlignment¶
-
SessionDrafting.DynamicAlignment¶ Returns or sets the dynamic alignment flag.
-------------------------------------Getter Method
Signature
DynamicAlignmentReturns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
DynamicAlignmentParameters: 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
ExtractedEdgeFaceDisplayReturns: Return type: NXOpen.Preferences.SessionDraftingEdgeFaceDisplayTypeNew in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ExtractedEdgeFaceDisplayParameters: 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
ForcedWelcomeModeReturns: 0: no welcome, 1: ALWAYS welcome, 2: default Return type: int New in version NX8.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ForcedWelcomeModeParameters: 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
GridObjectReturns: Return type: NXOpen.Preferences.SessionDraftingGridObjectTypeNew in version NX6.0.2.
License requirements: None.
-------------------------------------Setter Method
Signature
GridObjectParameters: 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
LoadComponentOnFacetedViewSelectionReturns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LoadComponentOnFacetedViewSelectionParameters: 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
LoadComponentOnFacetedViewUpdateReturns: Return type: bool New in version NX3.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
LoadComponentOnFacetedViewUpdateParameters: 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
SmartlightweightViewsLoadComponentOnDemandReturns: Return type: bool New in version NX11.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
SmartlightweightViewsLoadComponentOnDemandParameters: loadComponentOnDemand (bool) – New in version NX11.0.0.
License requirements: None.