|
|
Automation API The Automation API lets you drive EazyDraw from your own scripts — open and control drawings from Python, a shell, or any tool that can make a web request. The service runs only on your own Mac, stays off until you turn it on, and requires a private access token on every request.
The service listens only on your own computer and never accepts connections from the network or the internet. Together with the required access token, this keeps automation private to programs running on your Mac. Edits made through the API respect the same locks you have set in the editor and are undoable, exactly like a hand edit. Related Information Connect an AI AssistantYou can connect an AI assistant such as Claude Desktop to EazyDraw and work on a drawing by asking in plain language — fill named fields, place images and PDFs, organize layers, switch layer configurations, and render the result so the assistant can see it. Connect Claude Desktop walks through the setup. Drawing File Format — Flat, Optimized, and UUIDThe API reads and writes the EazyDraw JSON drawing file, and the file’s format matters for automation. Choose the Flat serialization format for any drawing an external program will open: every graphic then carries its full set of attributes inline, with no shared-reference lookups, so a script can read and write the drawing with no knowledge of EazyDraw’s internal storage. The Optimized format is more compact and is best for everyday editing, but it is not intended for automation. Enabling UUIDs gives every graphic, layer, and group a stable identifier, so a script can address a specific object by identity even after the drawing is edited and saved. You set both of these on the Drawing Properties panel. Working with Library ContentMuch of what the API does is place and restyle graphics drawn from your libraries. These pages explain the behavior the API builds on: Library Properties — how a library element stores the look it transfers to a graphic. Transfer Scope — which attributes a library element applies when it is transferred onto a graphic. Element Presentation — viewing and managing the elements in a user library. Full API DocumentationThe complete reference — every request and response, the status codes, and example scripts — is in the EazyDraw Automation API documentation: EazyDraw Automation API Reference . |