Dynamo script that works like "Modify" Tab \ "Selection Box" button

In Revit, under the “Modify” Tab, there is a button “Selection Box(BX)”. If you select some elements, and click on it, then the current view will zoom to these elements with a view range box.

How can I do the same in Dynamo script (Visual programming) or in Python script node? The input is a list of element IDs. I can already convert this list to a list of elements.

Thanks.

Maybe start with the solution to this thread?

1 Like

Will try that node. Thanks.

1 Like