Table of Contents

Method GetLayoutSetups

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

GetLayoutSetups()

Asks the app how every layout is set up, model space first: its sheet, what is plotted, its scale and plot style. The answer is JSON text, an array with an object for each layout: name, model, paper, width and height (millimetres), landscape, units, area, scale (as 1:50, null where fitted), plotStyle and viewports.

public string GetLayoutSetups()

Returns

string

The JSON text.

Exceptions

CadRemoteException

Thrown when the drawing is closed.