|July 27, 2012, 10:33||
Hotkeys commands via script files?
Join Date: Jan 2010
Location: Laval University, Canada
Posts: 389Rep Power: 10
Is there a way to call a hotkey command from a script file? For example, "Shift-i" from a script file in order to modify view to isometric.
I'm just beginning with scripting, sorry if it's a basic question!
|July 28, 2012, 08:18||
Retired from CFD Online
Join Date: Mar 2009
Location: Ann Arbor, MI
Blog Entries: 1Rep Power: 39
A hotkey its self is just running a small script in the background... So you would just run whatever command the hotkey was going to run.
That said, it is rare that anyone would want to script something that affects the view... Still, I think the command to rotate the view would be something like you see in this script... Unfortunately, because it is a display command, it is not documented in the programmers guide. I played with it a bit and couldn't figure it out (don't have time this morning) but you can play with this script and work it out for yourself. Please post the result if you do sort it out.
|Thread||Thread Starter||Forum||Replies||Last Post|
|UDF issue||MASOUD||Fluent UDF and Scheme Programming||14||December 6, 2012 14:39|
|critical error during installation of openfoam||Fabio88||OpenFOAM Installation||21||June 2, 2010 03:01|
|Problems in compiling paraview in Suse 10.3 platform||chiven||OpenFOAM Installation||3||December 1, 2009 08:21|
|OpenFOAM15 paraFoam bug||koen||OpenFOAM Bugs||19||June 30, 2009 10:46|
|OpenFOAM14 for Mac OSX Darwin 104||gschaider||OpenFOAM Installation||118||July 20, 2008 05:19|