Python error with new Dynamo 2.5


I am getting this error trying to run 2.3 scripts with 2.5:

Is this a problem with some libraries installation?

The graph works fine in 2.3, and Revit 2020…

thank you


Other graphs using Data-Shape also return the same error.

Maybe I need to wait for the package updates.


Are you running this in sandbox or in Revit?

seems like this was removed in 2021:

[ObsoleteAttribute("This method is deprecated in Revit 2020 and will be removed in the next version of Revit.  Use the ImageInstance::Create() method instead")]
1 Like