Plotting layout page

Hey guys, how do I do to set the plot area in python?

I have a tool that plots each layer in an svg.

It is currently exporting an area with the whole layout, but not the whole page.
So how do I configure it to export the whole page instead?

I am printing the layer with:

for layer_info in layers:
  pctl.OpenPlotfile(layer_info[0], PLOT_FORMAT_SVG, layer_info[2])
1 Like