GeneralSettings

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

Properties

AutoUpdateCommandHelp

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

ContextMenuDelay

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

EnableContextMenu

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

MaximumPopupMenuLines

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

MaximumUndoMemoryMb

#Since v5.0
public static int MaximumUndoMemoryMb { get; set; }
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.

MiddleMouseMacro

#Since v5.0
public static string MiddleMouseMacro { get; set; }
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.

MiddleMouseMode

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

MiddleMousePopupToolbar

#Since v5.0
public static string MiddleMousePopupToolbar { get; set; }
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.

MinimumUndoSteps

#Since v5.0
public static int MinimumUndoSteps { get; set; }
Gets or sets the minimum undo steps.

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

MouseSelectMode

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

NewObjectIsoparmCount

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

SplitCreasedSurfaces

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

UseExtrusions

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

Methods

GetCurrentState

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

GetDefaultState

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