Cfd-post - how to export figures automatically?
Hi everyone!
I am totally new in this forum so excuse me if I say something wrong or the question is already asked (I have not found it, so I guess it's not). I'm making a macro in a .cse for automaticing a process for CFD-post. I have managed to create one that takes all the data for my project on a certain time and exports it in a document. It works pretty well. You can see some fragment down below: # Session file started: 01:10:45 # CFX-16.2 COMMAND FILE: CFX Post Version = 16.2 END # timestep: 0.10 DATA READER: Domains to Load= END > load filename=//...../Model_1-9-0.1.dat , case=Case Model_1_E9v10 9 0.1, force_reload=true CALCULATOR: Function = area Location = Case Name = Case Model_1_E9v10 9 0.1 END TABLE:Table 1 Export Table Only = True Table Export HTML Title = Table Export HTML Caption Position = Bottom Table Export HTML Caption = Table Export HTML Border Width = 1 Table Export HTML Cell Padding = 5 Table Export HTML Cell Spacing = 1 Table Export Lines = All Table Export Trailing Separators = True Table Export Separator = Tab END >table save=C:/....../Tabla.txt, name=Table 1 Now I'd like to do the same but saving images instead of just data. Through the software I get some figures that I can visualize in the main screen and save as *.png. Those are the images I want to extract, but I don't know how to do it by coding. The point would be do it some certain times as I did for the data as well. Any help? :) thanks in advance |
The easiest way to do session files is to record a session file of doing the thing you want in the GUI. Then you can see the session file commands to do the action.
|
All times are GMT -4. The time now is 00:49. |