My main goal is to write progs that act like they are part of acad.
I need to do both modal and modeless dialogs, and be able to maintain global variables per drawing.
I think I need to get into things more before I understand how .net will help that.
Already, the fact that it can create a command is promising.
thx
Norman Yuan
|>When kalking about .NET "program". or rather .NET developing tool (#C,
|>VB.NET) for AutoCAD, there are two rather different topics: Acad automation
|>and ObjectARX .NET API (or managed API).
|>
|>In this NG, we see posts on both topics.
|>
|>When you automate Acad, .NET tool (#C, VB.NET) acts the same way as you use
|>VB5/6, via COM API. With VB6 "program", it is not necessarily running
|>outside Acad. ActiveXDLL made in VB5/6 can be used by VBA, LISP or eveb ARX.
|>
|>Actually, so far, there is no pure .NET thing that run inside Acad. It is
|>ObjectARX .NET Interop, at the bottom, it is ObjectARX does the work. the
|>.NET ObjectARX API started from Acad2005, and only some of ObjectARX
|>functionalities are available in .NET API and thtere is still quite some
|>gliches. If you want full ObjectARX strength, you still have to use Visual
|>C++ (unmanaged).
|>
|>Since .NET ObjectARX API is not full ObjectARX, consider the complexity of
|>using it, for most my Acad developing, I still use VBA as the first choice
|>and only look at Object .NET API if something thta VBA does not provide.
|>
|>"James Maeding" wrote in message
|>news:4960990@discussion.autodesk.com...
|>lisp and arx's run "inside" acad.
|>They both create command line commands and have global variables that can be
|>set and used later by a given session.
|>They both treat processes as "children" to the parent. This is good.
|>
|>The one thing I do not like about a VB6 app is that it runs "outside" acad.
|>You have to communicate with it through
|>lisp or VBA, and dealing with tracking what dll is hooked to what session is
|>something I have not mastered.
|>
|>It would spur me on to learn vb.net even more if vb.net acts like it runs
|>"inside" acad.
|>I am getting clues that it does, but have not experimented with modeless
|>forms and all the fancy things that need to be
|>tracked per session.
|>
|>Any comments on if items written in .net can be classified as running
|>"inside" acad?
|>
|>James Maeding
|>Civil Engineer and Programmer
|>jmaeding - athunsaker - com
James Maeding
Civil Engineer and Programmer
jmaeding - athunsaker - com