Table of Contents

Class CadDesignCenter

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

What DesignCenter does with the content of another drawing: layers, linetypes, text, dimension, multileader and table styles, blocks and layouts copied into the drawing open, a thing the drawing has by the name already kept as it is (the layer WALL of the drawing keeps its colour, whatever the other drawing's WALL has). Each call is one undo step. A block is inserted, and an external reference attached, by the commands that place them; the window starts those.

public static class CadDesignCenter
Inheritance
CadDesignCenter
Inherited Members

Methods

Add(CadDocument, CadDesignCenterDrawing, CadDesignCenterKind, IEnumerable<string>)

Copies named items of a kind from a drawing into the document: a layer with its colour, linetype (copied too where the document has none), lineweight, transparency, state and description; a linetype with its dashes, texts and shapes; a text style with its font; a dimension, multileader or table style with the text styles, linetypes and blocks it draws by; a block definition with what it is drawn from; a layout with its viewports and objects, taking another name where the document has one of that name (Layout3-Plan), as the template command names it.