Table of Contents

Method Rename

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Rename(CadDocument, IReadOnlyList<string>, string)

Renames a filter; a name a sibling has already, letters of either case the same, is refused.

public static CadEditResult Rename(CadDocument document, IReadOnlyList<string> path, string newName)

Parameters

document CadDocument

The document.

path IReadOnlyList<string>

The names of the filter.

newName string

The new name, the spaces round it taken off.

Returns

CadEditResult

What came of it; the name it has already is done with nothing written.