Dynamo 0.71 and Design Options

I’m trying to get dynamo to pick up the current design option using a python node.

I’m using the method DesignOption.GetActiveDesignOptionId(doc) to identify the ID of the Current Design option.

This works first time, but if I switch to another design option, and run the script again, it does not update. If I amend the python node in any way and then save and re-run, then the script updates. The same also happens if I try to get the design option names. I suspect this data is being held in memory and is not being cleared out when the script stops running.

In 0.6.3 this works fine.

Is this a bug in 7.01?


Hi Andrew, yes, it is bug. We’ve created bug for this issue and are fixing it.