User LayoutEditorFull Monday 4th August 2025
When I click in the "circle/ellipse" tool on the task bar, I get a circle as it uses the CircleBox command. Is using the macro below (or command line) the only way to get an ellipse?
#!/usr/bin/layout
#name=created Mon Aug 4 2025
#help=This macro was recorded 04 August 2025 10:05:18.
int main(){
layout->drawing->point(-50000,-100000);
layout->drawing->point(50000,100000);
layout->drawing->ellipse();
}
Jürgen LayoutEditorFull Monday 4th August 2025
With the circle/ellipse tool you need to press shit+ctl when entering the second point to get an ellipse instead of a circle.
With macro scripting there are also other ways to get an ellipse. For example you can enter the center and two radius:
[https://layouteditor.org/layoutscript/api/cell#12](https://layouteditor.org/layoutscript/api/cell#12)