DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
333 stars 186 forks source link

FloorPlanView.ByLevel doesn't support binding like other create nodes #1720

Open ksobon opened 7 years ago

ksobon commented 7 years ago

Dynamo version

1.3

Revit version

2017

Operating system

Win10

What did you do?

Create Floor Plan

What did you expect to see?

ElementBinding to kick in.

What did you see instead?

Every time definition is re-run new set of views gets created.

dimven commented 7 years ago

I suspect it's something more deeply rooted than binding, because I've seen similar behavior with the level creation nodes, where they sometimes get re-created every time with a number suffix (e.g. Level 1(1), Level 1(2), ...)

Both of them seem to be getting wrapped. Maybe something up the graph is getting refreshed by an event and feeding in "fresh" input into the creation node?

https://github.com/DynamoDS/DynamoRevit/blob/Revit2017/src/Libraries/RevitNodes/Elements/Views/FloorPlanView.cs#L63