Shawndoe 发表于 2022-7-6 08:42:16

ObjectARX from the beginning,

There has been some talk about learning ObjectARX and what it would take.I've been interested in the idea for a while now, and so I've decided to pull togethersome information.
 
Below is the path to the Autodesk Development Center web site for ObjectARX.
 
http://usa.autodesk.com/adsk/servlet/index?id=773204&siteID=123112
 
From this we can see that the first thing we need to do is learn C++ or one of the other variants supported by ObjectARX.I want to concentrate on C++ because it relates to other things that I do.So as you might have guessed this means that the first part of our ObjectARX class will be to learn C++.
 
From this site you can also download the ObjectARX SDK.I am going to be developing for AutoCAD 2009, you will want to download the SDK for the AutoCAD version you want to develop in.The AutoCAD SDK libraries very from version to version so you probably won't need to recode when you change ACAD versions, but you will need to recompile.Unfotunately they don't have the SDKs for versions earlier then 2007 posted.
 
If you have already downloaded the SDK then open the Help file located in the "arxlabs" subdirectory, and look at the introduction.For the rest of you I will quote from the introduction.
 
 
I'm planning on using Visual Studio 2008 when I start coding ARX routines, but to just learn C++ there are a number of compilers and development environments, no need to spend money till we have to. Therefore, I choose to start with devcpp-4.9.9.2.I will upgrade to VisualStudio when we get past the basics. If you want to use this compiler it can be found at:
 
http://www.bloodshed.net/dev/devcpp.html
 
This compiler is free and was pretty well reviewed in my searches.I will add other compilers to this list if provided.
 
I found the C++ Language Tutorial at:
 
http://www.cplusplus.com/doc/tutorial.
 
This looks like a pretty good tutorial that will give us what we need.That said I am open to suggestions as to alternitives, so long as they meet my one criteria... Free.
 
As for the program editor, I use Textpad.Use any editor that you feel comfortable with.I will add it to the list if you provide it.
 
http://www.textpad.com/
 
Once we have our compiler and program editor installed we can start to really learn C++.Given that most of us have a least a little programming background we should get through the basics pretty quick.
 
I am hoping to post one lesson a week or so, depending on how much progress it feels like we are making.The first lesson will be the basic structure of a C++ program using the dreaded "Hello World" program,variables/data types, Constants, Operators, and Basic Input/Output.My plan is basically to follow the outline of the C++ tutorial until we feel we understand enough C++ to start writting ARX code.I figure that day is about 4-5 weeks away, though some will be faster then others, and can hopefully speed the rest of us up (Lee).I will post the first lesson sometime next weekend depending on my work load.That should allow time for those who are ready for the challenge to choose their software and install it.
 
If any of you out there know C++ and or ARX and would be willing to help, it would be much apprecaited.
 
Have a good week.
Shawndoe

wizman 发表于 2022-7-6 08:46:45

looking forward for your lessons, thanks

flowerrobot 发表于 2022-7-6 08:51:45

As i posted in the other topic
 
http://www.filefactory.com/file/aacgf7/n/C_For_Dummies_5th_Edition_pdf
both pdf and cd's
 
http://warezforum.info/ebooks-tutorials/168123-c-dummies-5th-edition-ebook-cd.html
 
Its the one ima using, its basicly light reading. im 1/4 threw it after 2 nights. Many may find it basic but, the learning gets in their, with much less effort, tho i find it does explain some things easily like
instead of setq they have
int = interger
long = big interger
double = real
boon = true of false
etc
 
their was also this one, which i havnt read, but looks at like the step after the one above
 
http://www.filefactory.com/file/aabga3/n/Teach_Yourself_Visual_C_6_in_21_days_pdf
 
 
 
Ive being using like Shawndoe
said
dev-c++ (bloodshed) also the books recommend this
And microsofts one, but this requires a bit more knowlegde to use .h file and stuff.
http://www.microsoft.com/express/vc/Default.aspx

wannabe 发表于 2022-7-6 08:53:07

I've learnt a lot of C# and a moderate amount of the AutoCAD .NET managed API. There are many benefits for me to learn C++; for CAD and for general programming.
 
I've just finished reading my latest C# book, so learning C++ will fill the vacancy (an hour a day).
 
So count me in and let me know how I can help.
 
SEANT is quite an enthusiast and may also want to join the happy train:D
 
EDIT: Can you put the intended plan of action into a flow-diagramatic depiction? I find it conducive to information absorbtion.

SEANT 发表于 2022-7-6 08:55:25

I’ve already got my C++ Beginners Guide as well as the AutoCAD 2009 ObjectARX Developer’s Guide.   I don’t know how consistently I’ll have time to devote to my C++ studies, though getting a reasonable handle on it is a near/long term goal.

Lee Mac 发表于 2022-7-6 08:58:27

Hi Guys,
 
I am willing to join the "Happy Train" as you might have figured - but it worries me that I only have access to AutoCAD '04, and judging by your first post Shawn, it seems you need '07 or later to get started with compiling...
 
I am happy to learn C++ and look forward to the lessons - but I am not sure how far I can go without shelling out for a later version of AutoCAD - when I don't even do drafting... is there any other way to learn ObjectARX....
 
Lee

wannabe 发表于 2022-7-6 09:04:18

Lee, you're a student. You should qualify for student versions of many of the Autodesk product range. Seriously!

Freerefill 发表于 2022-7-6 09:07:20

Wow, actual lessons o.o I'm not sure about ObjectARX but if this helps me learn C++ then I'm all over it like Mario on a Fire Flower!

Lee Mac 发表于 2022-7-6 09:10:26

 
Are you sure? Even though I am not doing a degree in Design or that field?
 
If so, how would I go about claiming for a copy?

wannabe 发表于 2022-7-6 09:12:50

 
 
http://www.cadtutor.net/forum/showthread.php?t=23080
页: [1] 2
查看完整版本: ObjectARX from the beginning,