Hello,
Is there any way to set the View Range settings via RIR.
I have seen there is View Range Elevations node to get these values, but I would like to set them too.
Thanks
Assigned to Rhino Inside Revit category
Is there any news on that @Japhy ?
Hi B. Balbastre,
We added a View Range Element component a while back.
Hi @Japhy
I saw you can view the range of a view but what a about set your own parameters. Is it possible to override them?
We don’t have a component for that property, i’ve added a feature request.
Hi @bbalbastre,
We have enabled ‘View Range’ component as a setter in v1.22.
RiR-GetSet-ViewRange.gh (41.9 KB)
Numbers are interpreted as offsets over the level associated to the View.
To set it to Unlimited you have to connect the ‘None’ level.
In order to combine a Level and an offset please use ‘Level Offset’ component.
‘Level Offset’ can be also used to express an elevation using an other Level like this.
‘Project Elevation’ can also be also used in a similar manner to see the elevation measured from the Survey point.
This snipped for instance resets all plan views to have same view range but referencing only the Level the view is using.
Here ‘Level 2’ is changed in ‘Site’ View to be ‘Level 1 + 3000mm’ which is same elevation, but now ‘Site’ view is not affected by ‘Level 2’ if this is moved.
Also added ‘Levels Adjacency’ to get level below and above an elevation.
Used this way it gives you the levels above and below a certain elevation.
Or used this other way it gives you the closest one, upside or downside.
I’m noticing that my changes made using this component seem to revert back to previous values if I open the “View Range - Edit” window in Revit without first saving the Revit file. I’ve noticed similar things trying to modify other parameters using Revit API recently as well. Wondering if this is a known issue/quirk?
Hi Dylan,
I’m not seeing this in a quick test.
Please post your RiR about info and small example if possible. Thanks
Hi @bushdylanj,
Yes this is known quirk, the Revit UI does not update correctly, but the change is done on your View.
You can double check in the Revit viewport itself the change is done.
I think if you change your active view back a forth it shows the right value on the UI.
Rhino 7 and Revit 2023
I’ll try and come back with a file I can share when I get a moment.
Thank you for the info @kike! I’ll keep this in mind.
Thanks for the info, i was testing in Rhino 8 & Revit 2025. Per Kike’s comment it looks to be a quirky UI refresh issue so no need for an example.