×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

better quality image

better quality image

better quality image

(OP)
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

RE: better quality image

Lubo,

Try this command:

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

-Brian

RE: better quality image

(OP)
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.

RE: better quality image

Hello,

you can rename a file by using /copy.

Regards
Alex

RE: better quality image

(OP)
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

RE: better quality image

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

RE: better quality image

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





RE: better quality image

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

RE: better quality image

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources