.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Launch AutoCAD Session - Get from COM to .Net API?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
129 Views, 1 Replies
08-08-2005 12:55 PM
Hello all,
I've got a C# .NET application that needs to launch AutoCAD in the background and do some processing on some dwg files.
I can launch the AutoCAD session using the COM Interop object, but from there I can't figure out how to get back over to the .NET world and access the .NET objects for that application. I've seen examples where you can convert the .NET AcadApplication object to the Interop AcadApplication object, but does anyone know of a way to go the other direction?
Thanks for your help,
Brian
I've got a C# .NET application that needs to launch AutoCAD in the background and do some processing on some dwg files.
I can launch the AutoCAD session using the COM Interop object, but from there I can't figure out how to get back over to the .NET world and access the .NET objects for that application. I've seen examples where you can convert the .NET AcadApplication object to the Interop AcadApplication object, but does anyone know of a way to go the other direction?
Thanks for your help,
Brian
*Tony Tanzillo
Re: Launch AutoCAD Session - Get from COM to .Net API?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
08-08-2005 02:14 PM in reply to:
brianroth
I don't believe the managed ObjectARX API is remotable,
and if it isn't then you can't use it from another process.
You would need to have your managed code loaded into
AutoCAD via NETLOAD.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
wrote in message news:4922794@discussion.autodesk.com...
Hello all,
I've got a C# .NET application that needs to launch AutoCAD in the background and do some processing on some dwg files.
I can launch the AutoCAD session using the COM Interop object, but from there I can't figure out how to get back over to the .NET world and access the .NET objects for that application. I've seen examples where you can convert the .NET AcadApplication object to the Interop AcadApplication object, but does anyone know of a way to go the other direction?
Thanks for your help,
Brian
and if it isn't then you can't use it from another process.
You would need to have your managed code loaded into
AutoCAD via NETLOAD.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
Hello all,
I've got a C# .NET application that needs to launch AutoCAD in the background and do some processing on some dwg files.
I can launch the AutoCAD session using the COM Interop object, but from there I can't figure out how to get back over to the .NET world and access the .NET objects for that application. I've seen examples where you can convert the .NET AcadApplication object to the Interop AcadApplication object, but does anyone know of a way to go the other direction?
Thanks for your help,
Brian
