


{"id":432493,"date":"2025-05-24T17:00:12","date_gmt":"2025-05-24T17:00:12","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/show-command-for-saving-png\/"},"modified":"2025-05-27T08:29:32","modified_gmt":"2025-05-27T08:29:32","slug":"show-command-for-saving-png","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/show-command-for-saving-png\/","title":{"rendered":"\/SHOW command for saving .png"},"content":{"rendered":"<p>&lt;p&gt;Hello, I&#8217;d like to ask about saving .png pictures by using APDL commands.&lt;\/p&gt;&lt;p&gt;I&#8217;m trying to automatize my workflow using APDL and \/SHOW,FILENAME,PNG command to save my pictures in a folder different from the job directory.&lt;\/p&gt;&lt;p&gt;I am trying the following:&lt;\/p&gt;&lt;p&gt;PLNSOL(&#8216;TEMP&#8217;)&lt;br&gt;\/SHOW,&#8217;C:\\Users\\my_path\\my_picture&#8217;,PNG&lt;br&gt;\/REPLOT&lt;br&gt;\/SHOW,CLOSE&lt;\/p&gt;&lt;p&gt;With these lines, a file named &#8216;my_picture.png&#8217; is generated in the desired path but it seems to be corrupted as I&#8217;m not able open it (Windows shows a message saying that &#8216;the format is not compatible&#8217; but it should be a .png).&lt;\/p&gt;&lt;p&gt;Am I missing something?&lt;\/p&gt;&lt;p&gt;Thank you very much.&lt;\/p&gt;&lt;p&gt;Best regards,&lt;\/p&gt;&lt;p&gt;Antonio.&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-432493","topic","type-topic","status-closed","hentry","topic-tag-ansys-apdl","topic-tag-ansys-mapdl-1","topic-tag-apdl"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27791"],"_bbp_topic_id":["432493"],"_bbp_subscription":["292544","88","18229","58821"],"_bbp_author_ip":["95.62.130.60"],"_bbp_last_reply_id":["432618"],"_bbp_last_active_id":["432618"],"_bbp_last_active_time":["2025-05-27 08:29:10"],"_bbp_reply_count":["7"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["3"],"_bbp_engagement":["292544","88","18229"],"_btv_view_count":["798"],"_bbp_topic_status":["answered"],"_bbp_status":["answered"]},"test":"azjiac-es"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/432493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/432493\/revisions"}],"predecessor-version":[{"id":432605,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/432493\/revisions\/432605"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=432493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}