Load views in ICEMCFD script
hi guys,
just wondering if any of the ICEM guys know whether it is possible / how to load previously saved 'views' in ICEM?? I need / want to post process a whole lot of meshes automatically and when i tried to record the replay file including loading a previously saved view, nothing was recorded ... so just wondering if its indeed possible??? thanks very much and best regards cheers jonathan |
Hi Jonathan,
there is a tcl command hidden in the icem source which is not fully documented... Code:
ic_current_view # returns current view settigns With regards, Sebastian |
Hi Sebastian,
thank you very much for this answer and your help. i am not an expert in TCL so this really helps me - i have only done beginner-to-intermediate scripting in ICEM, and i am not sure if the 'scripting language' which is recorded when you record replay files is actually TCL or even another 'language'. Anyway, thanks very much. i'll give it a go when i get time tonight (i need to post-process 120 auto generated meshes for a study i am doing), so if this works it will be a huge help. thanks very much, best regards Jonathan Quote:
|
Yes, the recorded replay file is in tcl language. The difference between the replay file and a tcl file is the numbering added in the replay file. I think there are some more minor differences but not important ones.
That means you could add this command in your replay file. with regards, Sebastian |
All times are GMT -4. The time now is 14:23. |