SmartTrackSettings

public static class SmartTrackSettings
Contains static methods and properties that target the Smart Track feature behavior.

Properties

ActivationDelayMilliseconds

#Since v5.0
public static int ActivationDelayMilliseconds { get; set; }
Gets or sets the activation delay in milliseconds.

ActivePointColor

#Since v5.0
public static Color ActivePointColor { get; set; }
Gets or sets the active point color.

GuideColor

#Since v8.21
public static Color GuideColor { get; set; }
Gets or sets the active guide color.

LineColor

#Since v5.0
public static Color LineColor { get; set; }
Gets or sets the smart track line color.

MarkerSmartPoint

#Since v9.0
public static bool MarkerSmartPoint { get; set; }
TODO - Figure out what this does.

MaxSmartPoints

#Since v5.0
public static int MaxSmartPoints { get; set; }
Gets or sets the maximum number of smart points.

Parallels

#Since v9.0
public static bool Parallels { get; set; }
Turns on and off the ability to draw parallel tracking lines.

PointColor

#Since v5.0
public static Color PointColor { get; set; }
Gets or sets the point color.

SemiPermanentPoints

#Since v9.0
public static bool SemiPermanentPoints { get; set; }
Toggles the retaining of captured points for the duration of a command as opposed to discarding them after each mouse click. For example, when you use the Copy command, clicking the mouse to place an object does not clear the existing smart points.

ShowMultipleTypes

#Since v9.0
public static bool ShowMultipleTypes { get; set; }
TODO - Figure out what this does.

SmartBasePoint

#Since v9.0
public static bool SmartBasePoint { get; set; }
See Implied from. When a single Smart point is active, you will see the cursor tooltip with a distance.You can either type a distance or enter relative coordinates (e.g. @10,5) to place a point relative to the active smart point.

SmartOrtho

#Since v5.0
public static bool SmartOrtho { get; set; }
Gets or sets a value indicating if the 'Smart Ortho' feature is active.

Orthogonal lines are then drawn automatically.

SmartPointAtCPlaneOrigin

#Since v9.0
public static bool SmartPointAtCPlaneOrigin { get; set; }
The active viewport construction plane origin is automatically tagged as a smart point, making it possible to snap to it, and snap to ortho lines radiating from it.

SmartSuppress

#Since v9.0
public static bool SmartSuppress { get; set; }
TODO - Figure out what this does.

SmartTangents

#Since v5.0
public static bool SmartTangents { get; set; }
Gets or sets a value indicating if the 'Smart Tangents' feature is active.

StrongOrtho

#Since v9.0
public static bool StrongOrtho { get; set; }
TODO - Figure out what this does.

TanPerpLineColor

#Since v5.0
public static Color TanPerpLineColor { get; set; }
Gets or sets the tangent and perpendicular line color.

UseDottedLines

#Since v5.0
public static bool UseDottedLines { get; set; }
Gets or sets a value indicating if lines are drawn dotted.

UseSmartTrack

#Since v5.0
public static bool UseSmartTrack { get; set; }
Gets or sets if the Smart Track feature is active.

Methods

GetCurrentState

#Since v5.0
public static SmartTrackSettingsState GetCurrentState()
Gets the current settings.
A new Smart Track state with current settings.

GetDefaultState

#Since v5.0
public static SmartTrackSettingsState GetDefaultState()
Gets the Smart Track factory settings.
A new Smart Track state with factory settings.

UpdateFromState

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