Setting the View type

If I select two viewports in my Revit window and run this, it works.

However, what I am trying to do is to set this parameter in the same script I’m creating the viewport… And I can’t get it to work.

Looking at the final node it seems to have worked, but every one of the viewports is set to the Large_Ref_Title_Scale_Line (second in the list).

What am I doing wrong?

On the passthrough you are essentially saying hey wait for myself so you can pass myself, should that be waiting for something else? Maybe the value calculation to finish?

It appears also in the example shown you are passing viewports and in the not working example you are passing views

1 Like

No. Tried putting in a pause because sometimes you have to wait for something to be created before you can change it.
I added a pause here to see if it just didn’t like writing the regular parameters at the same time as the built in parameters (it made no difference in this case).

Oooooh… I think that must be the issue… I’ll change that bit. Thanks.
Fingers crossed… Second set of eyes = good :slight_smile: