ModelAidSettings

public static class ModelAidSettings
Contains static methods and properties to modify model aid settings.

Properties

AltPlusArrow

#Since v5.0
true means Alt+arrow is used for nudging.
public static bool AltPlusArrow { get; set; }

AutoAlignCPlane

#Since v8.0
Gets or sets whether the cplane will automatically align to the selection
public static bool AutoAlignCPlane { get; set; }

AutoCPlaneAlignment

#Since v8.0
//0 = object, 1 = world, 2 = view
public static int AutoCPlaneAlignment { get; set; }

AutoGumballEnabled

#Since v5.0
When AutoGumball is on, a gumball automatically appears when objects are pre-picked.
public static bool AutoGumballEnabled { get; set; }

CenterSnapToApproximations

#Since v9.0
public static bool CenterSnapToApproximations { get; set; }

ControlPolygonDisplayDensity

#Since v5.0
Gets or sets the control polygon display density.
public static int ControlPolygonDisplayDensity { get; set; }

CtrlNudgeKeyStep

#Since v5.0
Gets or sets the Ctrl-key based nudge step amount.
public static double CtrlNudgeKeyStep { get; set; }

DigitizerOsnapPickboxRadius

#Since v9.0
public static double DigitizerOsnapPickboxRadius { get; set; }

DisplayControlPolygon

#Since v5.0
Gets or sets the enabled state of Rhino's display control polygon.
public static bool DisplayControlPolygon { get; set; }

DragStartsWindowSelection

#Since v9.0
When enabled, a click and drag that starts on top of an object starts a window/crossing selection instead of dragging the object, the same as holding down the Alt key. Grip dragging and gumball dragging are not affected, and a click that does not drag still selects normally.
public static bool DragStartsWindowSelection { get; set; }

EnableOsnapHighlight

#Since v9.0
public static bool EnableOsnapHighlight { get; set; }

ExtendToApparentIntersection

#Since v5.0
Gets or sets the enabled state of Rhino's extend to apparent intersections.
public static bool ExtendToApparentIntersection { get; set; }

ExtendTrimLines

#Since v5.0
Gets or sets the enabled state of Rhino's extend trim lines.
public static bool ExtendTrimLines { get; set; }

GridSnap

#Since v5.0
Gets or sets the enabled state of Rhino's grid snap modeling aid.
public static bool GridSnap { get; set; }

GumballAutoReset

#Since v8.10
When GumballAutoReset is on the gumball resets its orientation after a drag When GumballAutoReset is off the gumball orientation is kept to where it was dragged
public static bool GumballAutoReset { get; set; }

GumballExtrudeMergeFaces

#Since v8.0
When ExtrudeMergeFaces is true the gumball will attempt to merge faces if possible after extruding a face
public static bool GumballExtrudeMergeFaces { get; set; }

HighlightControlPolygon

#Since v5.0
Gets or sets the enabled state of Rhino's highlight dialog modeling aid.
public static bool HighlightControlPolygon { get; set; }

MousePickboxRadius

#Since v5.0
radius of mouse pick box in pixels.
public static int MousePickboxRadius { get; set; }

NearMidIntPerpSnapToMeshes

#Since v9.0
public static bool NearMidIntPerpSnapToMeshes { get; set; }

NudgeKeyStep

#Since v5.0
Gets or sets the nudge step amount.
public static double NudgeKeyStep { get; set; }

NudgeMode

#Since v5.0
0 = world, 1 = cplane, 2 = view, 3 = UVN, -1 = not set.
public static int NudgeMode { get; set; }

OnlySnapToSelected

#Since v8.0
public static bool OnlySnapToSelected { get; set; }

OrientAutoCPlaneToView

#Since v8.7
Gets or sets whether the auto cplane will rotate towards the view after aligning to the selection
public static bool OrientAutoCPlaneToView { get; set; }

Ortho

#ExampleSince v5.0
Gets or sets the enabled state of Rhino's ortho modeling aid.
public static bool Ortho { get; set; }

OrthoAngle

#Since v5.0
Gets or sets the base orthogonal angle.
public static double OrthoAngle { get; set; }

OrthoUseZ

#Since v8.0
Gets or sets whether Ortho will snap to the CPlane Z axis
public static bool OrthoUseZ { get; set; }

Osnap

#Since v5.0
Enables or disables Rhino's object snap modeling aid.
public static bool Osnap { get; set; }

OsnapCursorMode

#Since v5.0
Gets or sets the OSnap cursor mode.
public static CursorMode OsnapCursorMode { get; set; }

OsnapModes

#Since v5.0
Returns or sets Rhino's current object snap mode. The mode is a bitwise value based on the OsnapModes enumeration.
public static OsnapModes OsnapModes { get; set; }

OsnapPickboxRadius

#Since v5.0
Enables or disables Rhino's planar modeling aid.
public static int OsnapPickboxRadius { get; set; }

Planar

#Since v5.0
Gets or sets the enabled state of Rhino's Planar modeling aid.
public static bool Planar { get; set; }

PointDisplay

#Since v5.0
Gets or sets the point display mode.
public static PointDisplayMode PointDisplay { get; set; }

ProjectSnapToCPlane

#Since v5.0
Gets or sets the enabled state of Rhino's Project modeling aid.
public static bool ProjectSnapToCPlane { get; set; }

ProjectToCPlaneInPlanParallelViews

#Since v9.0
public static bool ProjectToCPlaneInPlanParallelViews { get; set; }

ShiftNudgeKeyStep

#Since v5.0
Gets or sets the Shift-key based nudge step amount.
public static double ShiftNudgeKeyStep { get; set; }

SnappyGumballEnabled

#Since v5.0
When SnappyGumball is on, a dragging a gumball moves the center point. When snappy gumball is off, dragging a gumball moves the mouse down point.
public static bool SnappyGumballEnabled { get; set; }

SnapToFiltered

#Since v8.0
public static bool SnapToFiltered { get; set; }

SnapToLocked

#Since v5.0
Gets or sets the locked state of the snap modeling aid.
public static bool SnapToLocked { get; set; }

SnapToOccluded

#Since v8.0
public static bool SnapToOccluded { get; set; }

StickyAutoCPlane

#Since v8.0
Gets or set whether the auto cplane will stay even after deselection
public static bool StickyAutoCPlane { get; set; }

UniversalConstructionPlaneMode

#Since v5.0
Gets or sets the locked state of the snap modeling aid.
public static bool UniversalConstructionPlaneMode { get; set; }

UseHorizontalDialog

#Since v5.0
Gets or sets the enabled state of Rhino's use horizontal dialog modeling aid.
public static bool UseHorizontalDialog { get; set; }

Methods

GetCurrentState

#Since v5.0
Gets the current settings.
public static ModelAidSettingsState GetCurrentState()
A new model aid state with current settings.

GetDefaultState

#Since v5.0
Gets the factory settings.
public static ModelAidSettingsState GetDefaultState()
A new model aid state with factory settings.

UpdateFromState

#Since v5.0
Updates from a particular setting state.
public static void UpdateFromState(
state
The new states that will be set.
)