Table of Contents

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

document CadDocument

The document.

parentPath IReadOnlyList<string>

The names of the filter it is nested in; none for the top.

name string

The name.

expression string

The expression, as NAME=="1_Arch*" AND OFF=="False"; refused where it is not one.

Returns

CadEditResult

What came of it.