Method AddProperty
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
AddProperty(CadDocument, IReadOnlyList<string>, string, string)
Adds a property filter, nested in a filter or at the top, with an expression of AutoCAD's form.
public static CadEditResult AddProperty(CadDocument document, IReadOnlyList<string> parentPath, string name, string expression)
Parameters
documentCadDocumentThe document.
parentPathIReadOnlyList<string>The names of the filter it is nested in; none for the top.
namestringThe name.
expressionstringThe expression, as
NAME=="1_Arch*" AND OFF=="False"; refused where it is not one.
Returns
- CadEditResult
What came of it.