Change TaskType using Python?

Is it possible to change a task's PredefinedType (CONSTRUCTION/REMOVAL, etc) using Python?
I try to copy the resulting code of the manual steps displayed in the InfoContext menu, but the call to "bpy.ops.bim.edit_task()" triggers "RuntimeError: Instance #0 not found", and the PredefinedType I tried to change/assign isn't stored. Have anyone had any luck with this?
BR Sondre

Sign In or Register to comment.