DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
339 stars 188 forks source link

Decouple Geometry Preview from Category: Generic Model #2599

Closed jshial closed 4 years ago

jshial commented 4 years ago

If this issue is not a bug report or improvement request, please check the Dynamo forum, and start a thread there to discuss your issue.

Dynamo version

Dynamo Core 2.0.2.6826, Dynamo Revit 2.0.2.6833

Revit version

19.2.20.24, 20190808_0900(x64), 2019.2.2

Operating system

Win10

What did you do?

Hide Generic Model category through "Visibility/Graphics" in Revit.

What did you expect to see?

After hiding Generic Model category, keep geometry preview alive.

What did you see instead?

All geometry previews are gone as well.

ZiyunShang commented 4 years ago

Hi @jshial , the "Revit Background Preview" in Dynamo also belongs to Generic Model Category. When you hide all of Generic Model Category, the geometry previews are gone.

jshial commented 4 years ago

@ZiyunShang Is there a chance that dev team could decouple preview from the category in future release? Consider having tons of generic models, to be able to see geometry preview of elements of other category, hiding all generic models is essential to avoid a crowded view. A not perfect workaround I've been using recently is hiding them by Filter but not very desirable since it requires mapping a lot of rules onto generic model instances. A filter without any rules will be just like unchecking Generic Model Category then geometry preview will be gone eventually. Other possible visibility controls such as Workset will also request extra setup.

A new category in Revit just for hosting Dynamo geometry preview perhaps?

ZiyunShang commented 4 years ago

I am sorry for the late reply, I think this may be an improvement of RevitAPI. What do you think of this, @AndyDu1985 ?

AndyDu1985 commented 4 years ago

Yes, this behavior is currently by design. So the "Revit Background Preview" in Dynamo also belongs to Generic Model Category. A solution or workround is that to user filter on Generic Model Category to hide others expect those backgournd preview.