User LayoutEditorFull Tuesday 29th January 2019
I am looking at writing macros for LayoutEditor and I’m wondering is there a list of commands anywhere. I’ve searched the wiki and various tutorials. I find a lot of examples of macros and see many of the commands such as in this example:
```
layout->drawing->setCell(cellname);
layout->drawing->activeLayer=layer;
layout->drawing->point(0,0);
layout->drawing->point(radius,0);
layout->drawing->circle();
```
I’d like to use the scripting more, but I can’t seem to find a list, like how to rotate something.
Jürgen LayoutEditorFull Tuesday 29th January 2019
the macro language is object oriented. The members of each class is listed here: https://layouteditor.org/layoutscript/api
Most often you will need the members from the class drawingField.. It can be access ```layout->drawing->methodName(...);``` Its members are listed here: https://layouteditor.org/layoutscript/api/drawingfield