GeneralSettings

public static class GeneralSettings
Contains static methods and properties to give access to Rhinoceros settings.

Properties

AutoUpdateCommandHelp

#Since v5.0
Command help dialog auto-update feature.
public static bool AutoUpdateCommandHelp { get; set; }

ContextMenuDelay

#Since v5.0
Time to wait before permitting context menu display.
public static TimeSpan ContextMenuDelay { get; set; }

EnableContextMenu

#Since v5.0
true if right mouse down + delay will pop up context menu on a mouse up if no move happens.
public static bool EnableContextMenu { get; set; }

MaximumPopupMenuLines

#Since v5.0
Gets or sets the maximum number of popup menu lines.
public static int MaximumPopupMenuLines { get; set; }

MaximumUndoMemoryMb

#Since v5.0
Gets or sets the minimum undo memory Mb.

Undo records will be purged if there are more than MinimumUndoSteps and they use more than MaximumUndoMemoryMb.

public static int MaximumUndoMemoryMb { get; set; }

MiddleMouseMacro

#Since v5.0
Gets or sets the toolbar to popup when the middle mouse is clicked on a view, this value is only used when MiddleMouseMode is set to PopupToolbar.
public static string MiddleMouseMacro { get; set; }

MiddleMouseMode

#Since v5.0
Gets or sets what happens when the user clicks the middle mouse.
public static MiddleMouseMode MiddleMouseMode { get; set; }

MiddleMousePopupToolbar

#Since v5.0
Gets or sets the toolbar to popup when the middle mouse is clicked on a view, this value is only used when MiddleMouseMode is set to PopupToolbar.
public static string MiddleMousePopupToolbar { get; set; }

MinimumUndoSteps

#Since v5.0
Gets or sets the minimum undo steps.

Undo records will be purged if there are more than MinimumUndoSteps and they use more than MaximumUndoMemoryMb.

public static int MinimumUndoSteps { get; set; }

MouseSelectMode

#Since v5.0
Gets or sets the current selection mode.
public static MouseSelectMode MouseSelectMode { get; set; }

NewObjectIsoparmCount

#Since v5.0
Gets or sets the number of isoparm curves to show on new objects.
public static int NewObjectIsoparmCount { get; set; }

SplitCreasedSurfaces

#Since v9.0
Should surfaces be split into polysurfaces with smooth faces. This setting is read-only.
public static bool SplitCreasedSurfaces { get; }

UseExtrusions

#Since v6.0
Should extrusion objects be created for things like cylinders
public static bool UseExtrusions { get; }

Methods

GetCurrentState

#Since v5.0
Gets the current settings.
public static GeneralSettingsState GetCurrentState()
A new general state with current settings.

GetDefaultState

#Since v5.0
Gets the factory settings.
public static GeneralSettingsState GetDefaultState()
A new general state with factory settings.