User LayoutEditorFull Tuesday 19th June 2018
This code seems to be not working:
layout.booleanTool.boolOnLayer(17,88,17, "A-B", nx=0, ny=0, borderMerge=0);
Can you check if there is something wrong ?
Jürgen LayoutEditorFull Tuesday 19th June 2018
nx=0, ny=0 and borderMerge=0 are default parameter. If you leave the parameter away, the listed value is assumed. So the command
`layout.booleanTool.boolOnLayer(17,88,18, "A-B"); `
is identical with
`layout.booleanTool.boolOnLayer(17,88,18, "A-B", 0, 0, 0); `
or with
`layout.booleanTool.boolOnLayer(17,88,18, "A-B", 0); `
That is identical in C++-Macros or LayoutScript for Ruby.
Support forums are fading
Support forums are fading because nobody wants to wait days for a reply. AI answers faster and better. LayoutEditor is no different: please use Help → AI Console in the LayoutEditor for all questions. If that is not enough, licensed users still have e-mail support at support@layouteditor.com. This forum remains available here as an archive.