API - Issues when iterating in optimization algorithm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I'm developing an algorithm to perform a structural optimization on a RSA steel structure model. It changes the geometry of the structure and its bar sections while iterating hundreds of times until it reaches an weight optimized solution which fill the established design requirements.
Unfortunately after 7-8 min of execution (~150 iterations) RSA crashes and suddenly closes without showing any dialog message. It doesn't seems to be related to lack of memory. I am iterating in a for loop and it is crashing each time in a different iteration, so I think it is also not related to a condition of a specific iteration.
I would like to know if anybody has any tips and advice on how to implement such kind of iterative algorithm using RSA API in a more efficient manner.
I am developing the algorithm in C# as an addin with its own dll. I am already using the RobotApplication.Interactive flag set to "0". I am not using the cache to modify the geometry when iterating since it seems not to be possible to edit existing nodes coordinates with cache.
Any help would be very welcome. Thanks in advance.