乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 29|回复: 19

[编程交流] ObjectARX from the beginning,

[复制链接]

6

主题

47

帖子

36

银币

初来乍到

Rank: 1

铜币
36
发表于 2022-7-6 08:42:16 | 显示全部楼层 |阅读模式
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 together  some 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
回复

使用道具 举报

1

主题

316

帖子

311

银币

初来乍到

Rank: 1

铜币
29
发表于 2022-7-6 08:46:45 | 显示全部楼层
looking forward for your lessons, thanks
回复

使用道具 举报

41

主题

301

帖子

265

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
209
发表于 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
回复

使用道具 举报

21

主题

146

帖子

127

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
106
发表于 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.
回复

使用道具 举报

10

主题

973

帖子

909

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
118
发表于 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.
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 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
回复

使用道具 举报

21

主题

146

帖子

127

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
106
发表于 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!
回复

使用道具 举报

20

主题

344

帖子

325

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
100
发表于 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!
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 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?
回复

使用道具 举报

21

主题

146

帖子

127

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
106
发表于 2022-7-6 09:12:50 | 显示全部楼层
 
 
http://www.cadtutor.net/forum/showthread.php?t=23080
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-7 08:53 , Processed in 0.472032 second(s), 72 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表