资源预览内容
第1页 / 共135页
第2页 / 共135页
第3页 / 共135页
第4页 / 共135页
第5页 / 共135页
第6页 / 共135页
第7页 / 共135页
第8页 / 共135页
第9页 / 共135页
第10页 / 共135页
亲,该文档总共135页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
,ObjectARX 2010 Autodesk Developer Technical Services,Autodesk Developer Network (ADN),Access to almost all Autodesk software and SDKs Including early access to Beta software Members-only website with 1000s of technical articles Unlimited technical support Product direction through conferences Marketing benefits Exposure on autodesk.com Promotional opportunities 1 to 3 free API training classes Based on user levelwww.autodesk.com/joinadn,Developer Technical Services,Worldwide Workgroup Over 25 Specialists World Wide Virtually 24 hour support, 5 days a week Americas Team CA, WA, So Paulo European Team Switzerland, United Kingdom, France, Czech Republic, Russia APac Team China, Japan, India,Getting Support,http:/www.autodesk.com/adn-devhelp Provides access to On-line knowledgebase Request submission Newsgroups Requests are logged automatically 1-3 day turnaround Callbacks as needed Answers to frequently asked questions are posted in our on-line knowledge base,Course Objective,It is to understand: The fundamentals of ObjectARX How to teach yourself AutoCAD APIs Where to get help with afterwardsWhat it is not: Teach you C+, C#, VB, .NET Give you complete of coverage of all API functions,Class Agenda,Lectures with Labs Slides give an abstract overview Labs and my comments give the practical experience Lectures: Overview of APIs AutoCAD: Hello.arx Step 1 + 2 ObjectDBX: Structure Step 3 + 4 ObjectDBX: Extend it! Step 5 + 6 AutoCAD: Multi-Document Environment Notification System Step 7,Class Schedule,Time 10:00 - 5:00 Lunch 12:00 - 1:00 Day 1 Overview of APIs AutoCAD: Hello.arx Day 2 ObjectDBX: Structure ObjectDBX: Extend it! Day 3 AutoCAD: MDE Environment Notification System,Training Material,ObjectARX.pptx - this presentation objectarx_2010_win_64_and_32bit.exe - ObjectARX installation file Inspector.zip - ObjectARX snoop tool,Agenda,Overview of APIs AutoCAD: Hello.arx ObjectDBX: Structure ObjectDBX: Extend it! AutoCAD: Multi-Document Environment Notification System,API Overview,A general look at APIs Types of API Client/Server interaction Client codeAutoCADs APIs and IDEs Implementation Comparison,What is an API?,A contract, it is about responsibilities Both sides are (or may be) required to Implement service entry points Call services properlyCode implementing API can be packaged as Source code modules (.h/.cpp in C+) Binary Static library DLL EXE,API Packaging,1. Source code 2. Static library 3. DLL 4. EXE,SomeApp.exe,Client/Server Interaction,In process Client/server is in the same processLocal Client/server is on the same machineRemote Client/server is on the same network,The Plug-In Architecture,API is implemented by an exe Client is implemented as a dll,.EXE,.DLL,.DLL,API,Forms of Client Code,Interpreted code Source script AutoLISP in the past Packaged code (p-code) Pre-processed, semi interpreted code Compiled Visual LISP AutoCAD.NET Compiled into IL Compiled code Processor instructions ObjectARX,AutoCAD APIs and IDEs,Application Programming Interfaces ObjectARX .NET Managed API COM Automation (VB, Java, Delphi, etc.) AutoLISPIntegrated Development Environments in AutoCAD Visual LISP Visual Basic, Applications Edition (VBA)(Visual Studio outside AutoCAD),API Implementation I,AutoCAD,ObjectDBX,3D graphics cache,dwg,HEIDI,2D graphics cache (WHIP!),PlotHDI,Display driver,Plotter driver,ObjectARX SDK (free, http:/www.autodesk.com/objectarx)RealDWG (licensed, http:/usa.autodesk.com/adsk/servlet/index?siteID=123112&id=770257)Plot DDK (licensed, http:/www.autodesk.com/adn-devhelp)HEIDI DDK (licensed, http:/www.autodesk.com/heidi)Wintab API (free),Input acquisition,Input driver,API Implementation II,AutoCAD,ObjectARX APIs,axdb.dll,COM,COM Client (VB, Java, Delphi),Old API Performance Comparison,Different Programming Techniques,How to Store Your Data in AutoCAD,Data Container Performance Chart,Time in seconds,How to Store Your Data in AutoCAD,Different Programming Techniques,Data Container Performance Chart,Time in seconds,Different Programming Techniques,How to Store Your Data in AutoCAD,Data Container Performance Chart,Time in seconds,API Comparison Summary,Speed ObjectARX, .NET is close second, VBA also though obsoleteCoverage ObjectARX, .NET everything except custom objectsEase of use .NET, VBALearning curve .NET, VBA,Overview of APIs AutoCAD: Hello.arx ObjectDBX: Structure ObjectDBX: Extend it! AutoCAD: Multi-Document Environment Notification System,Agenda,AutoCAD: Hello.arx,ObjectARX What it is Where to get it ObjectARX applications Structure Loading Memory management Creating commands Command mechanism Prompting for user input ObjectARX Wizards,What is ObjectARX?,AutoCAD Runtime eXtension A DLL plug-in model A set of Object Oriented C+ libraries A frameworkA framework? More than just a toolkit Specialized objects can be plugged back into the system Custom entities Reactors .,What can I do with ObjectARX?,Modify and extend the drawing database Create/modify/erase objects Create new types of objects Modify AutoCADs user interface Commands Toolbars/dialogs Properties Window Design Center Display system Monitor/Modify AutoCADs standard behavior Event notifications Input point acquisition,
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号