GithubHelp home page GithubHelp logo

Comments (4)

thumDer avatar thumDer commented on June 26, 2024

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.

petersmithfromengland avatar petersmithfromengland commented on June 26, 2024

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?

image

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.

thumDer avatar thumDer commented on June 26, 2024

Will try, and get back to you, thanks!

from revitbatchprocessor.

thumDer avatar thumDer commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.