Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

CUTPOLYA problem

JGoode
Expert
for some reason this bit of script isn't cutting around the middle section and it is just cutting the complete area.
CUTPOLYa 11, 1, 0,
                  -5,           -5,      15, 
                   5,           -5,      15, 
                   5,            5,      15, 
                  -5,            5,      15, 
                  -5,           -5,     -1, 
                 posx3,          posy3,      1, 
        posx2,          posy2,      1, 
        posx1, posx1,      1, 
                posx5, posy5,      1, 
                 posx4,          posy4, 1, 
                 posx3,          posy3, -1
Any idea?
ArchiCAD 23

Windows 10
1 REPLY 1
Barry Kelly
Moderator
There is no need to mark your posts as solved (the green tick) until you get an answer that does solve it.
I have removed the tick for now (I have also done that for some of you other posts).

The CUTPOLY is not a polygon with a hole, it is just the hole.
So the first 5 lines can be deleted.
Then you define you elements.
Then end the cut.

It goes like this.

CUTPOLY
Element script (i.e. PRISM with those first five co-ordinates
CUTEND

Now you can mark this post as ‘solved’ if you understand what I mean.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11