Pointwise Glyph Commands - Exit?
Hi everyone, I'm new to this forum so I just wanted to say hi. I am running a glyph script through pointwise, and I was wondering if there is a journaling command which closes out the pointwise window? Thanks a lot, I really appreciate anyone's help.
|
Hi John.
Interesting Glyph scripting question. If you launch the script using the Execute Script command in Pointwise, terminating or exiting Pointwise itself will kill the Tcl event loop and bye-bye script. On the other hand, I think if you initiate the script from a wish shell, you can start Pointwise, have it run a script, exit Pointwise, do other stuff, etc. HOWEVER, I have never done this myself. You could give it a shot and if you get stuck contact our Tech Support Team at support@pointwise.com. Best Regards |
Hi everyone! I saw that one can use Glyph to create the grid for a given application; I have some experience in Python and Matlab codes, but I don't get this language easily.
Can someone explain what is the benefit of using scripts for creating the grids? Is it worth the time to learn this language? Thanks a lot. |
Hello Florin:
You can write a template for the type of grids you generate every day that would virtually automate the process. If there is a sequence of commands you use repeatedly, you can write a macro and execute it with one button. With scripting you can add functionality to the software by extending a command or customizing a command. If you know how to program in Python or any other language learning Tcl is just a matter of syntax. |
Quote:
pw::Application exit However, if you are looking for running your script in the background, my suggestion is execute your script in the terminal in linux OS with specific flag for running a program in background. Although, I didn't try this yet, I guess it will work properly. For example "&" runs program in background in the Ubuntu. |
You can also do "pointwise -b scriptname.glf" and Pointwise will run the script in batch without executing the GUI. (I'm pretty certain that's the syntax - I'm going by memory.)
|
All times are GMT -4. The time now is 02:47. |