[IronPython] WPF 3D: Missing Viewport3D when importing

walgri walgri at gmail.com
Thu Aug 16 14:06:50 CEST 2007


Thank you very much Dino.  You also showed me that Viewport3D lives
actually in System.Windows.Controls

Best regards,
Walgri

On 8/15/07, Dino Viehland <dinov at exchange.microsoft.com> wrote:
> This is hanging due to the way avalon.py works.  It's primarily intended for working at the interactive console.  When Avalon.py gets started it hijacks the console execution so that all execution occurs on another thread.  This other thread is the primary thread for the app's window and its constantly pumping messages.  This allows you to continue to work at the console while the app remains responsive.
>
> When you run this from a script that's not going to work because the script isn't being entered at the console.  The key thing you need to do is app = Application() and then app.Run() at the bottom of your script.  I copied the necessary lines out of Avalon.py and ended up with:
[...]



More information about the Ironpython-users mailing list