Method Add
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Add(CadDocument, string)
Adds a layer of the colour White (7) and the linetype Continuous, as AutoCAD's New layer.
public static CadEditResult Add(CadDocument document, string name)
Parameters
documentCadDocumentThe document.
namestringThe name.
Returns
- CadEditResult
What came of it; refused where the drawing has a layer of the name, either case, and where the name holds a character AutoCAD refuses in one, the | of a layer of an external reference among them, in AutoCAD 2021's words:
"b|X" is an invalid layer name.