Comments (4)
It seems similar to #35 but it is still a bit different.
I think the main issue here is that app.OpenDocumentFile()
throws a CorruptModelException
which is not really an exception in this case, because actually it can be handled through a dialogbox if opening the file manually (elements can be deleted).
RBP handles all such exceptions in the same way, but this specific case
Some families have become unusable. Reload the families, or delete them from the model. - (GUID: 12266a1d-dc76-4477-8520-4a2f6474eec7)
could be handled differently, but I don't know if it is possible.
It might be an API restriction I believe...
from revitbatchprocessor.
Hi @thumDer
I did a quick google on this and found the below thread which outlines from the Autodesk dev team that this is a Revit problem, rather than a RBP problem
https://forums.autodesk.com/t5/revit-api-forum/opendocumentfile-corruptmodelexception/td-p/8278426
Does the below suggested fix work for you?
This would be in the addin manifest for RBP in the Revit version you are trying this task in, e.g. BatchRvtAddin2022
Let me know how you go
Cheers, Pete
from revitbatchprocessor.
Will try, and get back to you, thanks!
from revitbatchprocessor.
We've tried changing the VendorId for RBP to ADSK and also to our inhouse addin's VendorId but unfortunately it didn't solve the problem. I'm afraid there is nothing we can do about it at the moment :/
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 4
- can run in W11? HOT 2
- 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 2
- Rhino.Inside multi-Rhino version dialog HOT 1
- Feature Request - Run at scheduled interval HOT 4
- Unable to sync from dynamo HOT 1
- Can't import revit_script_util and revit_file_util HOT 3
- 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.