Hi,
1. How do you create a standalone application that manipulates multiple CAD drawings? Can it be done using COM only?
What I want to do is access cable schedules in Excel and automatically create motor schematics based on different motor CAD templates. I’ve done this in VBA, but I wanted to rewrite this in NET using OOP and I’m completely stumped.
I do not want to use “netload” for the time being, I’d like this to be a COM application only.
I’ve searched the through Autodesk NET discussion and this forum, and through ObjectARX samples, and didn’t find any examples using COM to write to the drawing database.
Using COM interops, I can open and close my CAD application, but I don’t know how to access the transaction manager and modify the drawing. Unsuccessfully, I’ve tried using acmgd.dll and acdbmgd.dll with COM. After reading about this, I know why it is not the way to do things.
Can you point me to, or write a small example for “Hello World” AutoCAD application using COM?
I am using AutoCAD 2006, Sharpdevelop 2.2. I am programming in VB.NET just so I can avoid typing out all optional parameters that I find annoying in Excel:)
Any help is appreciated.