DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
328 stars 184 forks source link

Zoom to Linked Element bug fix #2986

Closed dariaivanciucova closed 8 months ago

dariaivanciucova commented 8 months ago

catch cases where no BBox can be found

Purpose

Fix the bug when clicking on the green ID for linked elements. For linked elements, the Zoom will focus on the element's Bounding Box. The update: if the BBox cannot be found, the error message will appear saying 'No good view can be found'. Zoom to linked element bug fix

Declarations

Check these if you believe they are true

Reviewers

@Mikhinja @reddyashish @QilongTang

FYIs

@dnenov @Amoursol

Amoursol commented 8 months ago

@Mikhinja is it possible to get someone on Da Vinci to review and merge this PR? It's a crash-bug related to click on the green Element ID button.