ModelAidSettings

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

Properties

AltPlusArrow

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

AutoAlignCPlane

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

AutoCPlaneAlignment

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

AutoGumballEnabled

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

CenterSnapToApproximations

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

ControlPolygonDisplayDensity

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

CtrlNudgeKeyStep

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

DigitizerOsnapPickboxRadius

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

DisplayControlPolygon

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

DragStartsWindowSelection

#Since v9.0
public static bool DragStartsWindowSelection { get; set; }
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.

EnableOsnapHighlight

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

ExtendToApparentIntersection

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

ExtendTrimLines

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

GridSnap

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

GumballAutoReset

#Since v8.10
public static bool GumballAutoReset { get; set; }
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

GumballExtrudeMergeFaces

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

HighlightControlPolygon

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

MousePickboxRadius

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

NearMidIntPerpSnapToMeshes

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

NudgeKeyStep

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

NudgeMode

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

OnlySnapToSelected

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

OrientAutoCPlaneToView

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

Ortho

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

OrthoAngle

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

OrthoUseZ

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

Osnap

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

OsnapCursorMode

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

OsnapModes

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

OsnapPickboxRadius

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

Planar

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

PointDisplay

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

ProjectSnapToCPlane

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

ProjectToCPlaneInPlanParallelViews

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

ShiftNudgeKeyStep

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

SnappyGumballEnabled

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

SnapToFiltered

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

SnapToLocked

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

SnapToOccluded

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

StickyAutoCPlane

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

UniversalConstructionPlaneMode

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

UseHorizontalDialog

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

Methods

GetCurrentState

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

GetDefaultState

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

UpdateFromState

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