Constructor CadLayerRule
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadLayerRule(string, string, bool)
Makes a rule.
public CadLayerRule(string variable, string pattern, bool negated = false)
Parameters
variablestringThe property: NAME, COLOR, LINETYPE, LINEWEIGHT, TRANSPARENCY, PLOTSTYLE, PLOTTABLE, NEWVPFROZEN, DESCRIPTION, OFF, FROZEN, LOCKED, VPFROZEN, USED, UNRECONCILED or VPOVERRIDES.
patternstringThe pattern, with the wild cards of AutoCAD:
*any run of letters,?one letter,[AB]one of those, a leading~anything the rest does not match.negatedboolWhether the layer has to fail the pattern (
!=).