Plotting

Under the Covers

Getting to elements

you can use the following to get a handle on all the elements on a page. Note the layout number and page number will be specific to your plot template. Also an_element() may need to be changed to the dialog you are interested in.

app.plugin(:plotting).dialogs.an_element().component(:layout_manager).sys!slot(:layouts)[2].document.sys!slot(:pages)[1].elements

Getting Current Selection

app.plugin(:plotting).dialogs.an_element().databus.request_data(:current_document)[1].selection
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License