Can we use Python for mass production of figures

Hi Itascan
Is there any way to produce figures by using Python? We want to generate a series of figures by slicing at various depths using Cutting tool, but cannot find a quick way?

I don’t know whether it is possible to modify the position of the cutplane, but you can specify its position in the plot item create command. So I guess you could use the plot item create… and plot item delete command in a Fish or Python loop, creating each with a different position of the cutplane, but maybe there is also a more elegant way. :slight_smile:

1 Like

You can use the PLOT ITEM n MODIFY command to change an existing plot item using the same switch-words used to create them. You can see the switch words used by exporting the plot to a data file and examining the syntax.

http://docs.itascacg.com/itasca900/common/guimodule/doc/manual/plot/cmd_plot.item.html?node1828

http://docs.itascacg.com/itasca900/common/guimodule/doc/manual/plot/plot_workflow.html?node1811

2 Likes