bvn-architecture / RevitBatchProcessor

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

Detaching rvt files #86

Open Alpgirl opened 2 years ago

Alpgirl commented 2 years ago

Good day! I am struggling with a problem to play a script using RBP which detaches many rvt files taking from folder paths in txt file. Besides, a script does purging and then saving files to the concrete path. RBP launches fine, works with, for instance, 1 rvt file, saves it and then completes operation despite that other rvt files remain unprocessed. I have no idea how to fix it with RBP. I want to automate detaching process with .bat and play it regularly. In dynamo my script plays perfectly. Can you get look at this problem? Thank you!

Best regards, Inna Larina, cool.inna-24@yandex.ru

P.S. I can't detach .dyn file, so I send my python code in txt file + screenshot of dynamo script overall. Attachment Detaching code.txt

petersmithfromengland commented 2 years ago

Hi @Alpgirl is this one still a problem for you? I'm just wondering what the reasoning is behind doing the opening and detaching in dynamo. Have you considered using batch processor to handle the open & detach and simplify your script down to just the purge functionality and saving in your output location? Could you provide more information about your batch processor setup for this task