GiD - The personal pre and post processor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

It is possible to start Python running

<GiDdirectory>/scripts/tohil/python/python

This opens the typical Python console

This python process is not related with the gid.exe process (it is not an embedded Python)

It can be used for example to run a GiD problemtype Python-based solver, without need to install an extra Python, the one of GiD could be used, and its relative location is a priori known.

If this process is killed the gid process is not affected, and don’t share any memory.

It is possible to import the tohil module in this Python interpreter to call Tcl commands, but will create a new Tcl interpreter with the standard commands. Cannot use here GiD commands like tohil.call('GiD_Info','mesh','nodes','-array') or tcl.GiD_Info('mesh','nodes','-array')

  • No labels