TAGGED: report
-
-
January 21, 2021 at 11:46 am
grotstein
SubscriberI am trying to exclude geometry from the report in ANSYS Mechanical. During report generation, Mechanical is locked and I cannot do any work. During report generation, I get a dialog that the report script is slowing down the application and that I should stop the process. I have to actively click no, otherwise the process just idles. This makes it necassary to sit next to the computer for 10-20 minutes during report generation and click no in the dialog a few times that it pops up. It's very time consuming for something that actually should be automized. Most of the time of report generation is spent reading the geometry data, which I actually don't need in the report. So it would be desirable to exclude geometry from report generation.nIn the documentation I found a hint on how to customize report generation in mechanical: create a custom Report2006/ folder and make changes to the Rules.xml file. But I have no documentation on what excactly to change in Rules.xml. Can anyount point me to the documentation?nTanks!n -
January 21, 2021 at 12:54 pm
Aniket
Forum Moderatorhttps://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v211/en/wb_sim/ds_Reports_Customizing.html this is the only documentation available for the customizing report. nBut to answer your query, you need to add the object id of your required branch of the tree that you want to exclude from the report undersection in the Rules.xml. Object Id can be found in the same folder, in C:\Program Files\ANSYS Inc\v211\aisol\DesignSpace\DSPages\Language\en-us\Report2006\ClassToString.xml file.n-AniketnHow to access Ansys help linksnGuidelines for Posting on Ansys Learning Forumn -
January 21, 2021 at 2:02 pm
grotstein
SubscriberDear Aniket,nthank you for replying. I was not aware of the ClassToString.xml file, so your comment helped.nHowever, adding the ID to only excluded the Geometry from the table of contents. Adding it to also excluded it from the report, but, unfourtunately, the script still reads the data, it just doesn't put it in the report. So my problem was not solved. I guess the only way to solve it is to change/ improve the script in Generator.js.n -
January 21, 2021 at 2:34 pm
grotstein
SubscriberI managed to get the desired result by changing Generator.js.nIn the function ComposeTable(firstChild, listParent, physicsType, analysisType) after these lines:n       var node = firstNode;n       var li = null;n       var tr, td;n      var tmpString = ;n      var tmpString2 = ;n      var tmpString3 = ;nI addedn      if ((node.Tag.Class == 400)) {n         / Stop if geometryn         returnn      }nThis is clearly just a very bad hack, but it works.n -
January 21, 2021 at 4:51 pm
Aniket
Forum ModeratorGlad that worked and thanks for sharing your solution with us on the forum!n-Aniketn
-
Viewing 4 reply threads
- The topic ‘Mechanical exclude geometry from report’ is closed to new replies.
Ansys Innovation Space
Trending discussions
Top Contributors
-
3492
-
1057
-
1051
-
965
-
942
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.