Method SetPlottable
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
SetPlottable(CadDocument, string, bool)
Sets whether a layer is plotted, as -LAYER Plot does; one of an external reference marked 8, as AutoCAD 2021 marks it.
public static CadEditResult SetPlottable(CadDocument document, string name, bool plotted)
Parameters
documentCadDocumentThe document.
namestringThe layer's name.
plottedboolWhether it is to be plotted.
Returns
- CadEditResult
What came of it; failed when a drawing older than AutoCAD 2000 is to leave a layer out of plotting.