Table of Contents

Method GetDatabase

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

GetDatabase()

Gets a copy of the whole drawing as the app has it now, changes not saved included: the header, tables, blocks, layouts with their viewports and every object, read from the DXF text the app writes of its database. The file of the drawing is not touched. A program that draws or checks the drawing in its own process opens it with CadDocument.From(database). The copy is a snapshot: later changes in the app are not in it.

public DxfDatabase GetDatabase()

Returns

DxfDatabase

The drawing's database.

Exceptions

CadRemoteException

Thrown when the drawing is closed.