Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

better quality image

Status
Not open for further replies.

SKJoe

Mechanical
Jun 6, 2005
78
Hi,

I do a parametic study in ansys and I want to capture images of results after each solution. I use /IMAGE,SAVE,,,...command to do so. When I saw the captured pictures, I realized that the quality is much less than as shown on the sceen. So is there some way to set better quality of captured pictures ? I have only read the manual file for /IMAGE command, but there was no hypertext reference to commands relative to changing quality of the images.

Thanx, and sorry for my english

Lubo
 
Replies continue below

Recommended for you

Lubo,

Try this command:

/ui,copy,save,png,graph,color,reverse,portrait,yes

-Brian
 
thank you Stringmaker, but when I tried your suggestion I realized that there is no choice to name these pictures. Or is there any way ? Via /IMAGE command I can name pictures automaticlly relative to *do-loops :

/IMAGE,SAVE,MODEL_B_%_P%_%_R%_UZ_%_T%, where _P,_R,_T are paremetres of nested loops.
 
Hello,

you can rename a file by using /copy.

Regards
Alex
 
Hi,

thank you for your advice mihaiupb. just one more thing :
if I have a job named model_b, then /ui,copy,save command create first picture model_b000.png. And when I want to rename I must write

/copy,model_b000,png,,model_b_%_P%_%_R%_UZ_%_T%,png...
,but how to obtain this number "000" to do something like this :

*get,numb,...? and then

/copy,model_b%numb%,png,,model_b_%_P%_%_R%_UZ_%_T%,png
 
I've used this command within do loops as well. The default naming convention of %jobname%XXX.png has always served me well. As Alex suggested you could always use the /COPY command to rename it and the /DEL command to delete the incorrectly named picture. I think you've got the right idea about using parameteric substitution and should have no problems getting this to work. You could even decide the name you want to be used for you pictures everytime you execute your macro by using the *ASK command and substituting a character parameter in for a portion of the file name.


Good luck,
-Brian
 
First of all, if you always delete the file model_b000.png after copy, the the next saved file should still have the same name, so you can always use /copy,model_b000,png...

If you don't wand to delete the files aftet copy (although I can't imagine why not), there is no *get,numb, but you should know the number of the file by the number of loops.

Regards,
Alex





 
You can also look up the help for the /gfile command to specify how much resolution you have in the picture.

Hope this helps,
Doug
 
Hi !

I have not known about /del command before. With /del command and realizing that if I delete file000.png the next file will be file000.png again as mihaiupb suggested fully solved my problem. Thank you very much friends ! The posts of yours were really helpful to me !

Lubo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor