Re: [IronPython] WPF 3D: Missing Viewport3D when importing

2007-08-16 Thread walgri
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 <[EMAIL PROTECTED]> wrote: > This is hanging due to the way avalon.py works. It's primarily intended for > working at the interactive console.

Re: [IronPython] WPF 3D: Missing Viewport3D when importing

2007-08-15 Thread Dino Viehland
Children.Add(lightmodel) #visualizza: w.Content=v w.Show() app = Application() app.Run() # -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of walgri Sent: Wednesday, August 15, 2007 7:01 AM To: users@lists.ironpython.com Subject

Re: [IronPython] WPF 3D: Missing Viewport3D when importing

2007-08-15 Thread walgri
Sorry, please replace the previous script with the following one. Running this script as standalone actually shows what I meant and hangs. But I guess this is unrelated to the Viewport3D issue. # import clr from avalon import * clr.AddReferenceByPartialName("Presentati

[IronPython] WPF 3D: Missing Viewport3D when importing

2007-08-15 Thread walgri
Hello, I have some Python experience, but I'm very new to .Net/WPF programming. I find that Media3D is missing Viewport3D in 2.0A3: IronPython console: IronPython 2.0A3 (2.0.10724.00) on .NET 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. >>> import clr >>> clr.AddReferenc