Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is possible to run a Python script in several ways

1- From the lower entry, can invoke Tcl code writing -np- followed some space and then some tcl code an press <Return>In particular there are some predefined Tcl procs that run python code, like GiD_Python_Exec (other possibilities are GiD_Python_Eval, GiD_Python_Call, …)

2- Python IDLE console

3- From an user-macro button

4- Invoked from a problemtype or plugin