CadMake
from OpenCAD2D import CadMake
class CadMake(System.Object) ยท CadMake in the .NET reference
The edits a program outside the command line makes that no command makes in one call: the Properties palette's rows set on objects, the words of a text changed, the cells of a table filled, a layout's sheet, a layer renamed or deleted, a viewport's scale and frozen layers. Each is one undo step of the document, made by the code the presenter runs, so a drawing worked on in this process (CadMake.Run) and the app's (the Remote channel's make request, which calls this) do the same.
The edits of CadMake that add and change multileader styles and table styles.
Methods
Paper
@staticmethod
def Paper(paper: str) -> CadPaper
Finds a sheet by its name (ISO A3, letters of either case, spaces optional) or makes one from a size in millimetres (420x297, each side 50 to 20 000), with margins of 5.
Run
@staticmethod
def Run(document: CadDocument, what: str, args: CadMakeArgs) -> System.Collections.Generic.IReadOnlyList[str]
Makes one of the edits listed in the remarks.