System.Uri not Working

I’m having issues importing System.Uri in Python after updating to Rhino WIP 8.0.22263.16305, 2022-09-20

URI error

Seems like a similar issue to: RH-66656

Anyone else having this problem?

import System
import clr

uri = System.Uri("")

– Dale

1 Like

Thanks for the simple fix @dale !

Thanks for reporting the issue, this is likely due to the change to using .NET 6 runtime by default. I’ve created RH-70626 to fix that up, as we shouldn’t require you to add a new reference just to use basic types.

1 Like