Zoom to Fit in Dynamo?

Hello @Loy_Seah.

I Believe that the ZoomToFit method refers to the UIView class from the Autodesk.Revit.UI namespace.
As far as I understand it, this means that you can only “ZoomToFit” views that are opened in the model, so that they are part of your Revit UI.

Ref:

There is a discussion about opening views through Dynamo, but it does not seem to have a great solution, but read here:

1 Like