I'm trying to cleanup some cell libraries and wanted to turn on ACS display and fit view in each model to simplify the process. These cells are very simple, many only containing less than a dozen elements. The cell library is used when processing field surveying, representing where a survey shot was recorded, so many are simply two lines forming an X with an active point at their intersection, which also happens to be the cell origin.
The cell library is large - over 250 cells.
The batch steps are averaging somewhere around 7 seconds per model using these commands: SET ACS ON, SELVIEW 1, FIT and SELVIEW 1.
Then, thinking I might want to save settings in each model so that when any model is opened, the view is zoomed in. So I canceled the process long before it finished and added a filedesign command to the script.
Suddenly the time for the steps more than doubled and somewhere around the 60th model, it started the out of memory exceptions.
So, I tried going back to the simpler script in a new session. This time, it got to model #108 before throwing a Microsoft.NET Framework unhandled exception error.
Platform: Power InRoads Ss4
Observations: The message in the .NET framework dialog listed Bentley Civil routines. So I decided to try again in the same workspace, but under Power InRoads Ss2.
The batch steps suddenly took less than half the time they were taking. I then stopped the process and added the Filedesign command back in to the script and restarted the batch process without launching a new session.
Final result: 286 cells were processed in just over 16 minutes.
This might be better posted in the OpenRoads forum, but since batch processing is core MicroStation. I'll leave it up to the moderators to decide.