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

view3D collector iterator exception #21

Open
benrobinson20 opened this issue Feb 16, 2021 · 1 comment
Open

view3D collector iterator exception #21

benrobinson20 opened this issue Feb 16, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@benrobinson20
Copy link
Contributor

Ive been sent a model by a user who is unable to run HBERT.
When i debug im getting an exception trying to itterate over the collector of 3D views. Ive not come across this before, does it mean something is corrupt in the database?
image

Then when looking at this function and the temporary transaction. Could it be simplified by checking the parameter
view.get_Parameter(BuiltInParameter.VIEWER_SHEET_NUMBER);

Its integer value is always 0 and string value "---" if the view is not placed on a sheet.

I will wetransfer the Revit file to you. FYI its 2020

@benrobinson20 benrobinson20 added the bug Something isn't working label Feb 16, 2021
@ThomasMahon
Copy link
Collaborator

ThomasMahon commented Feb 17, 2021

Hi @benrobinson20 this is a strange one - all I can think of which may cause this is if the user ran the tool once and it failed before the rollback then ran the tool again and saw that exception as the temp sheet which wasn't properly committed was garbage collected, or its not related to HBERT at all and they have run another external application or Dynamo script which has left an open transaction.

Really its only going to be possible to find out by having the file which caused this exception and getting the steps the user took to reproduce the exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants