I’m trying to import wpf.
I’ve put IronPython.Wpf.dll - this file I have not found in the Rhino IronPython plugin - in the same directory as my main script, and I have written the following:
import cls clr.AddReference('IronPython.Wpf') import wpf from System.Windows import Application, Window class...
There is another more elegant way?
It has worked well but only the first time I run it. The following I get this: Message: Cannot create more than one System.Windows.Application instance in the same AppDomain.
Does anyone know how to do?