GlobalAutoCorrection
from OpenCAD2D import GlobalAutoCorrection
class GlobalAutoCorrection(System.Object) ยท GlobalAutoCorrection in the .NET reference
A command name typed wrongly and the command typed next, with how many times that has happened: once it has happened GlobalSettings.AutoCorrectAfter times, the command line offers the command first when the misspelling is typed again, as AutoCAD's AutoCorrect does. LIEN typed three times, each followed by LINE, has LINE offered for LIEN.
Constructors
__init__
def __init__(self, typed: str, command: str, count: int) -> None
Makes a correction.
Properties and fields
Command
@property
def Command(self) -> str
Gets the command typed after it, in capitals.
Count
@property
def Count(self) -> int
Gets how many times the misspelling was followed by the command.
IsRemembered
@property
def IsRemembered(self) -> bool
Gets whether it has happened often enough to be offered at the default of GlobalSettings.AutoCorrectAfter times; the settings offer it after their own GlobalSettings.AutoCorrectMistypes.
Typed
@property
def Typed(self) -> str
Gets the misspelling, in capitals.