First, great thanks for CORE team for developing DynamoSAP. It's be really useful for me last months.
I'm working on a project where a great number of files has to be generated. I haven't found any other way to create new models and run analysis in a loop than unlock the model. I think it can be achieved with a single line of code in Bake.ToSAP
if (mySapModel.GetModelIsLocked()) { mySapModel.SetModelIsLocked(false); }
Hope it is helpful.
BR, Mario
First, great thanks for CORE team for developing DynamoSAP. It's be really useful for me last months.
I'm working on a project where a great number of files has to be generated. I haven't found any other way to create new models and run analysis in a loop than unlock the model. I think it can be achieved with a single line of code in Bake.ToSAP
if (mySapModel.GetModelIsLocked()) { mySapModel.SetModelIsLocked(false); }Hope it is helpful.
BR, Mario