CadMTextFindOptions
from OpenCAD2D import CadMTextFindOptions
class CadMTextFindOptions(System.Object) · CadMTextFindOptions in the .NET reference
How the MTEXT editor's Find and Replace dialog matches words, as AutoCAD 2021's has it: Match case, Whole words only, Use wildcards, Match diacritics and Match half/full width forms. With none set the search ignores capitals, finds words inside longer ones, takes every character as itself, treats a letter and the same letter with an accent as one, and a full-width letter and its ordinary form as one.
Constructors
__init__
def __init__(self) -> None
Properties and fields
MatchCase
@property
def MatchCase(self) -> bool
@MatchCase.setter
def MatchCase(self, value: bool) -> None
Gets or sets whether capitals must match: "Plate" is not found as "plate".
MatchDiacritics
@property
def MatchDiacritics(self) -> bool
@MatchDiacritics.setter
def MatchDiacritics(self, value: bool) -> None
Gets or sets whether accents must match: "cafe" is not found as "café".
MatchHalfFullWidth
@property
def MatchHalfFullWidth(self) -> bool
@MatchHalfFullWidth.setter
def MatchHalfFullWidth(self, value: bool) -> None
Gets or sets whether half-width and full-width forms must match: "ABC" is not found as "ABC".
UseWildcards
@property
def UseWildcards(self) -> bool
@UseWildcards.setter
def UseWildcards(self, value: bool) -> None
Gets or sets whether the words searched for are a wildcard pattern (* any run, ? one character, # a digit, @ a letter, [AB] one of those, a back quote before a character that character itself), as FIND's: M2? finds M20 and M24.
WholeWords
@property
def WholeWords(self) -> bool
@WholeWords.setter
def WholeWords(self, value: bool) -> None
Gets or sets whether a match must be whole words: "bolt" is found in "a bolt." but not in "bolted".
Methods
Clone
def Clone(self) -> CadMTextFindOptions
Makes a copy.