Hello, world - very 1st ObjectARX project with access to Model Space, MText etc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hello, I wanted to create MText entity using AutoCAD VBA API, but found out that it has less features than ObjectARX. So I installed ObjectARX Wizard for Visual Studio, created ObjectARX project from pattern, and got my very first ObjectARX program. I see that it is a DLL. I commented some few lines with errors, sp it all compiled successfully. AutoCAD started. I now just need to know in which file and in which function I should write my code. I suggest that this DLL created by wizard can access AutoCAD window, similarly to AutoCAD VBA/API. But I am a more familiar with C#/VB, so don't have much experience in C++/C, though studied it in courses. I need very basic simplest program which would do something like "using Autodesk.AutoCAD.Interop; using Autodesk.AutoCAD.Interop.Common;" but in this C++ project. I found out that ObjectARX has more properties for MText, so I'ld please ask to give directions on how to create "hello world" MText inside this c++ library project. I'ld also need to know how to compile it as DLL so that I can than attach it to my main Autocad VBA/API project (which basically has less featrures than ObjectARX, though easier). Millions of "thank you" in advance