bvn-architecture / RevitBatchProcessor

Fully automated batch processing of Revit files with your own Python or Dynamo task scripts!
GNU General Public License v3.0
277 stars 75 forks source link

Use it to open files #122

Open moinnagani1 opened 3 weeks ago

moinnagani1 commented 3 weeks ago

Is there a way to keep a previously opened file open in Revit? I want to compile a list of files and then initiate a batch process that will open these files in multiple instances of Revit. Once a Revit file is opened, it should remain open and not close. Is this or something similar possible?

Simple workflow

provide list cloud or local Choose worksets on or off Choose in single session or revit instance start opening file Once file is open do not close start opening next file It would b best if all files in the list can be opened at once I’ve tried manipulating script files to achieve this but so faar it opens single file then i break the terminat process command so it dosent close the revit But it dosent open the next model keep waiting for current revit session to close any suggestions to bypass this please?

thank you

petersmithfromengland commented 3 weeks ago

Hi @moinnagani1

There is no means to accommodate this currently. The model will close at the end of the task script for each model in the model list.

Could you just make the list of models to process just one (a source model lets say) and then the first line of your task script is to background open all of the other (lets assume destination) models. Then you can do whatever you need to with all of them open

Would that satisfy your needs?

Cheers, Pete