Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle unusable families error #71

Open
guysoft opened this issue Feb 11, 2021 · 1 comment
Open

Handle unusable families error #71

guysoft opened this issue Feb 11, 2021 · 1 comment

Comments

@guysoft
Copy link

guysoft commented Feb 11, 2021

The console fails on the following error:

DocumentCorruption - Some families have become unusable. Reload the families, or delete them from the model. - (GUID: 12266a1d-dc76-4477-8520-4a2f6474eec7)

Howerver when using GUI it seems like there is only one button and when pressed it will open the model:
Here is the dialog in revit:
Screenshot_20210211_112753

Here are dialogs afterwards too:

Screenshot_20210211_110323

Screenshot_20210211_110348

Is there a way to get the batch editor to click the "delete families" button and continue?

@guysoft guysoft changed the title Handle Handle unusable families error Feb 11, 2021
@petersmithfromengland
Copy link
Contributor

Hi @guysoft

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants