Is it possible to export an equivalent python script for what has been setup manually in the GUI?
-
Is it possible to export an equivalent python script for what has been setup manually in the GUI?
There are things I know only how to do via the GUI, e.g. importing Duke in the simulation section. But I would like to know how to import Duke in the simulation when I programme via python scripts...
-
I guess you answered this yourself (
s4l_v1.model.Import
) in 706?To see the full modeling capabilities you probably will need to also look into the Python module
XCoreModeling
. The high-level API ins4l_v1
only contains a subset of that API.The Jupyter notebook snippets/examples demonstrate many functions. Please have a look at the tutorials and the topics demonstrated in the
Modeling
folder -
As I understand it, the model section does not have an export to python script, but simulation and analysis does. I was looking for the model section. The jupyter example scripts are realling good though, but miss examples via duke or animal models, which are more complex to work with than blocks and cylinders.