Comments (3)
Hi Jeremy, many thanks for sharing it!
-
There is a log file that records the consoles output seen in the GUI. (Log files by default are written to the folder
%APPDATA%\BatchRvt
). It logs stuff like process Revit startup and monitoring, files processed, file actions (open, closing, detach, file type, path, etc). But any custom actions performed by a script would be left up to the script to record action-specific progress. If using a python script there is a utility functionOutput()
for logging to RBP's console. Dynamo scripts would need their own mechanism for logging, however. -
The Revit process(es) are monitored to detect process exit and process busy events. This info is logged to the console. If a Revit session crashes, RBP starts up a fresh Revit session for any files that remain to be processed (so only the Revit file that lead to the crash will be skipped). Indeed I found this can happen when processing a large amount of Revit files hence the recovery mechanism. You'll see in the UI there is an option to process the files in the same Revit session (when possible) or process every file in its own session but as far as crash recovery is concerned, the behaviour is the same. Note that Dynamo scripts are always made to run in a separate Revit session per file due to some limitations I encountered when closing an active UI document, but python scripts don't have this limitation and hence will process a lot faster!
-
See 2) :)
from revitbatchprocessor.
There is also a per-file time-out feature that can be used to terminate processing of a file if the time limit is reached. In that scenario the Revit process is forcibly terminated and a fresh session started up to process the remaining files.
from revitbatchprocessor.
Wow, that sounds very professional indeed! Congratulations! Thank you for your kind answers. I added them to the blog post: https://thebuildingcoder.typepad.com/blog/2019/11/the-revit-batch-processor-rbp.html#8
from revitbatchprocessor.
Related Issues (20)
- Instllation issue HOT 2
- Revit 2023 wouldn't load HOT 1
- 'Elements Lost on Import' dialog box - Could not find suitable button to click HOT 2
- Suggestion to improve pre-processing time 40x HOT 2
- Execute C# dll using RBP HOT 2
- Files in B360 HOT 5
- Could not find suitable button @dialog box: "Some numerical data within the imported file was out of range..." HOT 2
- Revit 2024 support HOT 3
- can run in W11?
- IronPython 3.4 support
- Uninstall dynamo 2.13 for Revit 2023 HOT 3
- RBP Configuration HOT 3
- Cannot open the model in Revit 2023. Please help!
- Wish - Open Specified Worksets HOT 1
- Rhino.Inside multi-Rhino version dialog HOT 1
- Feature Request - Run at scheduled interval HOT 1
- Unable to sync from dynamo HOT 1
- Can't import revit_script_util and revit_file_util HOT 3
- Unhandled Failure on Document Opening HOT 4
- Fail to recognize all Revit versions installed in my PC HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from revitbatchprocessor.