PDA

View Full Version : Programming AutoCAD in ObjectARX by Charles McAuley



sovby254640
2017-03-14, 01:39 AM
Is there an updated version of this or is this still relevant to today's Autocad? Is there anything else similar to this out there?

https://www.amazon.com/dp/B01K0ULX4Q/ref=wl_it_dp_o_pC_nS_ttl?_encoding=UTF8&colid=1Z2ZCGLF74MKF&coliid=I2R6DDHHTOT0JE

Ed Jobe
2017-03-14, 02:56 PM
Wiley holds the official Autodesk Press (http://www.wiley.com/WileyCDA/Section/id-816793.html). They don't list any books on ObjectArx, so I guess that all you can get are out-of-print books. That said, you need to have a good understanding of C++ first and then learn the AutoCAD object model. This book should be a good start, even though it is old. The current documentation is released with the ObjectArx SDK, which can be downloaded here (http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1911627).

sovby254640
2017-03-15, 12:01 AM
Wiley holds the official Autodesk Press (http://www.wiley.com/WileyCDA/Section/id-816793.html). They don't list any books on ObjectArx, so I guess that all you can get are out-of-print books. That said, you need to have a good understanding of C++ first and then learn the AutoCAD object model. This book should be a good start, even though it is old. The current documentation is released with the ObjectArx SDK, which can be downloaded here (http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1911627).

yeah thanks. i just bought a book on c++. I am familiar with c# & programming in general. Its strange to me though that there are so few options out there for in depth tutorials.

https://www.amazon.com/gp/product/0321714113/ref=od_aui_detailpages00?ie=UTF8&psc=1

Ed Jobe
2017-03-15, 02:18 PM
Yeah, I don't think there is very much money in writing books these days.

sovby254640
2017-03-15, 07:38 PM
Yeah, I don't think there is very much money in writing books these days.
I'm a little afraid of ordering this. I asked a question to a couple of places that had this book & they never responded. I was trying to find out if there is a cd or sample files. If they dont respond to a simple question will i ever get the book delivered? It's from amazon but it's one of those things where it's only available from 3rd party sellers. The other wierd thing is that the new version links show it as $500 where other lists it at $40.

Ed Jobe
2017-03-15, 08:24 PM
If you just want a book on C++, I would just go to the library. That's what I did.

sovby254640
2017-03-15, 09:17 PM
If you just want a book on C++, I would just go to the library. That's what I did.i have a c++ book. i just thought there might be something that shows you how to apply it to autocad. I know there is some stuff online like the Autodesk Developers Network but i was looking for a book that i could buy that would show me how to create objectarx programs. I know its based on c++ but once i learn that how do i apply that knowledge to objectarx & autocad?

Ed Jobe
2017-03-15, 10:07 PM
Is there a specific reason you need arx? The .net api is pretty robust. I would start there where you can find some tutorials.

dgorsman
2017-03-15, 10:32 PM
i have a c++ book. i just thought there might be something that shows you how to apply it to autocad. I know there is some stuff online like the Autodesk Developers Network but i was looking for a book that i could buy that would show me how to create objectarx programs. I know its based on c++ but once i learn that how do i apply that knowledge to objectarx & autocad?

Once you have a grasp on C++, you apply that knowledge to understanding the documentation in the ObjectARX SDK documentation. It includes both help files and a couple of basic sample projects.

sovby254640
2017-03-16, 05:12 AM
Is there a specific reason you need arx? The .net api is pretty robust. I would start there where you can find some tutorials.Not really. Just trying to learn as much as i can.We use autolisp a great deal at my office but the guy that did alot of our programming is retiring soon so i'm trying to learn as much as i can so i can take over for him. He does not know .net or objectarx & says he is too old to learn. Autolisp is great for automation but learning .net & objectarx would give me more flexibility plus i feel like the more i know the more i will be worth.

- - - Updated - - -


Once you have a grasp on C++, you apply that knowledge to understanding the documentation in the ObjectARX SDK documentation. It includes both help files and a couple of basic sample projects.Thanks guys. I appreciate the help

hugh.69031
2017-03-17, 02:30 AM
Would I ruffle feathers by suggesting that ARX has become a dead-end unless there is a need to maintain existing systems?

AutoLisp is great within AutoCAD and C#/.NET gets it to grip with the wider world as well as the deprecated VBA did. C++/ARX has been leapfrogged.

http://adndevblog.typepad.com/autocad/2012/07/the-right-tools-for-the-job-autocad-part-1.html et seq.

dgorsman
2017-03-20, 07:15 PM
Managed dotNET cannot create custom objects and/or object enablers, so there's still a few places where it's appropriate. It's all about having the right tool for the job: Swiss army knife, scalpel, or turbolaser.