CadDesignCenter
from OpenCAD2D import CadDesignCenter
class CadDesignCenter(System.Object) ยท CadDesignCenter in the .NET reference
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.
Methods
Add
@staticmethod
def Add(
document: CadDocument,
from_: CadDesignCenterDrawing,
/,
kind: CadDesignCenterKind,
names: System.Collections.Generic.IEnumerable[str],
) -> CadDesignCenterResult
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.