...
In practice go to GiD top menu Utilities->Tools->Develop->Console Python…
Example:
The next picture shows the IDLE console, in which a Python command sets a variable with the current number of surfaces asked to GiD:
...
Note that GiD_ Tcl Commands are exposed in the python interpreter as tcl.GiD_....
. Visit GiD' Customization Manual to learn about GiD Tcl Commands .