Hi @Jonathan_Haas ,
thanks for the quick reply. I’ve tried what you suggested, both methods alone and also together, passing the same SHAPE_POLY_SET as before.
Same result, nothing shows up in the layout unfortunately
There are many different ways but I’m using AddPolygon(). To deal with differences of 5.1 and 6.0, I once create an unconnected kind of prototype zonedefaults object and use that with a copy constructor. It might have changed in 6.99 again, though…
Thank you guys,
with the input from @mgyger (awesome code snippets man!), and fixing a bug of mine, I got it to work (see below). Other approaches might work as well but I didn’t test them.