Skip to content

Automatize exportation of 3D plots

@Tnespoulet has requested the possibility of automatizing the exportation of screenshots of 3D plots (e.g. field monitor results).

After checking the documentation of CST, I believe that this will be possible by combining the following elements:

  • Plot object: To correctly orientate the model, adjust certain visualization options and export the image.
  • Project object, SelectTreeItem method: To select the results to be displayed.
  • ScalarPlot3D object: To control options of the results depiction.

Alternatively, it is also possible to export the screenshot using the ExportImageToFile method of the Project object.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information