


{"id":435669,"date":"2025-06-30T13:39:42","date_gmt":"2025-06-30T13:39:42","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/workbench-journal-for-automatic-mesh-generation\/"},"modified":"2025-06-30T13:39:42","modified_gmt":"2025-06-30T13:39:42","slug":"workbench-journal-for-automatic-mesh-generation","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/workbench-journal-for-automatic-mesh-generation\/","title":{"rendered":"Workbench journal for automatic mesh generation"},"content":{"rendered":"<p>&lt;p&gt;Hi,&lt;\/p&gt;&lt;p&gt;I got already-working journal for the parametric geometry creation. Now I want to prepare a selective body meshing, in ANSYS Meshing.&nbsp;&lt;br&gt;I want to do this by workbench scripting, ie. by creating and reading a workbench journal (.wbjn file) in Workbench. This is a way how I dealed with the geometry parametrization.&lt;br&gt;However as I experienced, Workbench does not record clicking &#8220;generate mesh on selected body&#8221; in Meshing. I tried another way unsuccessfully &#8211; it does not record clicking &#8220;Generate mesh through this step&#8221; in the Meshing Worksheet panel.&lt;br&gt;I know that there is &#8220;Mechanical scripting&#8221; utility in Meshing, so maybe there I could set up the selective body meshing and running the meshing process, however I got there two issues:&lt;br&gt;- Workbench does not record clicking &#8220;Run macro&#8221; in Meshing&lt;br&gt;- I dont have neither experience nor source, for Mechanical scripting&lt;\/p&gt;&lt;p&gt;Therefore I would like to ask for advice how to deal with this. Namely do the following in Workbench journal:&lt;br&gt;- Open existing project&lt;br&gt;- update a geometry using new dimensions (I already got this)&lt;br&gt;- update geometry in meshing and do a selective body meshing (here I got the problem)&lt;\/p&gt;&lt;p&gt;Regards&lt;br&gt;Simulator&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-435669","topic","type-topic","status-publish","hentry"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27790"],"_bbp_topic_id":["435669"],"_bbp_author_ip":["153.19.34.245"],"_bbp_last_reply_id":["435871"],"_bbp_last_active_id":["435871"],"_bbp_last_active_time":["2025-07-02 03:58:21"],"_bbp_reply_count":["3"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["3"],"_bbp_engagement":["567617","431745","170445"],"_btv_view_count":["848"],"_bbp_topic_status":["unanswered"],"_bbp_subscription":["431745","170445"]},"test":"marcin9-nowak3gmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/435669","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":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/435669\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=435669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}