TAGGED: api, scripting, spaceclaim
April 6, 2022 at 7:47 amBJMELSubscriber
I use SpaceClaim scripting quite extensively and I'm quite please with it.
However, there is one drawback, as I do quite some debugging of my code in the API, so I re-run the code quite often. In some cases the code gets quite extensive, 1000, 2000 or 3000 lines and after I've run the code maybe 5 or 6 times, the API gets very slow.
I've tried cleaning the API directory/memory between runs, by removing the variables I've created, but it doesn't work. The graphics run fine and If I restart SC, the scripting part runs fine again.
I've noticed in earlier version 2021,2020 etc, the graphic interface crashed after re-running long codes several times. That seems to have stopped in version 2022 R1. However it slows down quite a bit.
Any ideas what the problem is?April 7, 2022 at 3:08 pmAniketAnsys EmployeeDoes restarting SpaceClaim help in any way?
How to access Ansys help links
Guidelines for Posting on Ansys Learning Forum
April 12, 2022 at 6:12 pmBJMELSubscriberYes, as soon as I restart everything is back to normal.
It just quite irritating restarting every 20 minutes after running the code few times..
June 1, 2022 at 11:01 amcastlSubscriberHi I just want to add that this happens with mee too. What I do and it seems to help is to clear the lower debug log window after a few runs. Also, save the script and clear the info box of spaceclaim, the (i) button. It helps recover from the slow script runs.
Viewing 3 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- How to work with STL file?
- Rotate tool in ANSYS Design Modeler
- Using Symmetry in DesignModeler and Expanding the Results
- section plane
- ANSYS FLUENT – Operation would result in non manifold bodies
- material properties
- drawing a geometry by importing a table of points
- Geometry scaling
- Parameters not imported into Workbench 18.2 from Solidworks/Inventor
- Coordinates orientation
Top Rated Tags
© 2023 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.