It looks like you're new here. If you want to get involved, click one of these buttons!
Hi Matthias,
How can I retrieve the path and file name of the layout opened in the active cell view by Ruby code, cf. "File > Layout Statistics" from the menu?
Cheers,
Tomas
Comments
Hi, Tomas!
Equivalent Python code is
pya.Application.instance().main_window().current_view().active_cellview().filename()
. See documentation.Hi Eugene,
Thanks a lot! It's similar for Ruby.
Cheers,
Tomas