Get and Set View Range - Problems with some settings

Haha, it´s not working good, its working far too good :grin: And now i have the next problem.
The Set View Range node is able to change the levels to associated levels that are “not possible” in Revit because they are not associated with the view.
It is not only setting the level type (associated, unlimited, above) it is also setting the level itselfe. I´m surprised^^

Please see the following example.

Task: I want to apply the parameters from a view with level 4.— to a view with level 11.—

So my first guess is that i dont want to get/set the LEVEL.ID as i´m doing now. Its more like the “type” i want to change…

I searched APIDOCS and found the PlanViewRangeLevel…
image
https://www.revitapidocs.com/2015/f39eba05-f199-9492-a9c8-db4b94a92785.htm

…but i don`t know what to do with that information.

2 Likes