Export to PDF will not render vectors

hi, happy new year…

pls repost / repair above / your code posting using

</>

so i try to find where you could get that code from?
esp. about the
tmp = beginRecord(PDF, “render.pdf”);
as that is not from the examples in

now i tried to understand the

if (tmp == null)

what is this? a test if the file open worked?
anyhow in cases like that i recommend some diagnostic prints, so you know where
you end up when running the sketch.

without your main i found that as expected

H.stage().paintAll(tmp, false, 1);

should run?? is that what you want?

add:
why we not ask
@buraquex
as it looks like he solved exactly that ( but not posted his code here )