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

Workaround "You are trying to checkout a large number of elements..." #123

Closed ghost closed 3 months ago

ghost commented 3 months ago

RBP does seem to be able to handle the warning 'You are trying to checkout a large number of elements. Instead checkout the following worksets <...>', when for instance updating a parameter value of several elements in a workshared model.

Does anyone know a workaround to this issue? is there a way to set up a dynamo script to avoid this warning all together?

Thanks!

Håkon

jchristel commented 3 months ago

Hi Hakon,

Just to confirm: are you saying RBP is handling the warning ok, or is it stopping processing a file when that warning occurs? I cant quite tell from your message whether you are flagging an issue with RBP or just wanting to find out how RBP does handle warnings.

Kind regards, Jan

ghost commented 3 months ago

Thanks so much for the reply, and sorry for the vagueness. The meaning of the post was the latter, RBP stopping at the error.

However; This was once again my bad - the error that was actually responsible for stopping the process was the 'cannot edit elements in group'. Worked around this by exporting the group Id's, and skipping elements in those groups in the script. Not a perfect solution, but good enough.