.NET

Reply
Distinguished Contributor
135 Posts
1 Kudo
Registered: ‎07-07-2006
Post 1 of 3

Jig and COM

89 Views, 2 Replies
12-10-2006 12:23 PM
Hi there all,

I'm getting ito .NET and created some basic stuff with the help of this forum, many thanks.

But to use these (without rewriting all the vba macro's) I expose the properties/methods to the COM and then reference them in VBA.

I was busy with the Jig... and works great with NETLOAD, but I can't get it exposed to VBA...the TBL file doesn't get created.

Does (can) anybody get the sample "EllipseJig" to be exposed to COM...(added the references..a simple property works but as soon a the jig-class is used it doesn't anymore)

Am I missing something.....

ps. I'm using SharpDevelopment or Microsoft Visual Basic 2005 Express edition and AutoCAD 2007
*Laurie Comerford
Post 2 of 3

Re: Jig and COM

12-10-2006 02:12 PM in reply to: caddie75
Hi,

You missing reading the numerous posts to this NG which make it clear that a
major advantage of .NET over VBA is its ability to jig.

--

Regards,


Laurie Comerford
CADApps Australia
www.cadapps.com.au
www.civil3Dtools.com
wrote in message news:5420969@discussion.autodesk.com...
Hi there all,

I'm getting ito .NET and created some basic stuff with the help of this
forum, many thanks.

But to use these (without rewriting all the vba macro's) I expose the
properties/methods to the COM and then reference them in VBA.

I was busy with the Jig... and works great with NETLOAD, but I can't get it
exposed to VBA...the TBL file doesn't get created.

Does (can) anybody get the sample "EllipseJig" to be exposed to COM...(added
the references..a simple property works but as soon a the jig-class is used
it doesn't anymore)

Am I missing something.....

ps. I'm using SharpDevelopment or Microsoft Visual Basic 2005 Express
edition and AutoCAD 2007
Distinguished Contributor
135 Posts
1 Kudo
Registered: ‎07-07-2006
Post 3 of 3

Re: Jig and COM

12-10-2006 02:37 PM in reply to: caddie75
Yes I know,

That's why I want to use a Class written in .NET to be available (COM Interop Exposed!) in VBA. Rewriting all VBA Code to use .NET now isn't a option (timewise).

I'm not intending to write a Jig-function in VBA!
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post