How to export multiple 2d views at once

(Moving to Ruby API subcategory.)

Please post using code delimiter lines per: [How to] Post correctly formatted and colorized code on the forum?

FYI, There is an error in your code …

:filename => "#@path/#{name}.png",

For string interpolation, you need to use #{ ... } to delimit the eval expression, so correct is:

:filename => "#{@path}/#{name}.png",

It is also a good thing to post a link to where the code came from.


We’ve covered this is other threads. I’ll see if I can search them up …

Here is one example I wrote …