] [mailto:[EMAIL PROTECTED] On Behalf Of Slide
Sent: Thursday, August 10, 2006 3:02 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Embedding Question
There is also an Import method on the PythonEngine object that allows you to
import stuff programatically as well.
On 8/10/06, Kris
is this different in some way?
>
>
>
>
>
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Dino Viehland
> Sent: Thursday 10 August 2006 21:17
>
> To: Discussion of IronPython
> Subject: Re: [IronPython] Embedding Que
]
Embedding Question
Cool, looks like I
was only close though J You may have already imported clr into the default
module, but just for the record for those who haven’t you’ll need
an import clr there. I just realized I forgot it the 1st time,
and I had a redundant “AddReference” in the delegate call
(object assembly);
AddReference adr =
engine.CreateMethod("import clr\nclr.AddReference(assembly)");
adr(typeof(SomeAutoCadType).Assembly);
From:
[EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]] On
Behalf Of Tim Riley
Sent: Thursday, August 10, 2006 12:10 PM
To: Discussion of IronPytho
).Assembly);
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tim Riley
Sent: Thursday, August 10, 2006 12:10 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Embedding Question
That's exactly what I needed.
Thank you Dino.
On 8/10/06, Dino Viehland <[EMAIL
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Tim Riley
Sent: Thursday, August 10, 2006 11:40 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Embedding Question
What I'm trying to do is sort
of weird so let me see if I can elaborate further. I am embe
: Discussion of IronPython
Subject: Re: [IronPython] Embedding Question
What I'm trying to do is sort
of weird so let me see if I can elaborate further. I am embedding IronPython in
a .NET assembly that will later be loaded into AutoCAD. AutoCAD has their own
two .NET assemblies that mu
to:
[EMAIL PROTECTED]] On
Behalf Of Tim Riley
Sent: Thursday, August 10, 2006 11:02 AM
To: Discussion of IronPython
Subject: [IronPython] Embedding Question
If I have an embedded project can I automatically make .NET
assemblies referenced in the project available to my python scripts? For
exa
PROTECTED] On
Behalf Of Tim Riley
Sent: Thursday, August 10, 2006 11:02 AM
To: Discussion of IronPython
Subject: [IronPython] Embedding Question
If I have an embedded project can I automatically make .NET
assemblies referenced in the project available to my python scripts? For
example I have
If I have an embedded project can I automatically make .NET assemblies referenced in the project available to my python scripts? For example I have two assemblies(not in the GAC) that I have referenced in my project. I would like them always available to all python files run from this program witho
10 matches
Mail list logo