ObjectARX

  • To start off my series of more in-depth looks at the new APIs provided in AutoCAD 2009, I decided to extend some recently posted F# code to generate and draw transient point clouds to be slightly less transient: we'll see how to use the new transient graphics API in AutoCAD to display a cache of transient graphics, even after the view has been changed. Some of you may be wondering about the amount of code I'm posting in F#. I find the technology extremely interesting and am also increasingly productive with it, so I've found myself gravitating towards using it…

  • I've been taking some time this week to dive into some of the new APIs available in AutoCAD 2009. I'm going to post a very quick overview of the APIs available in this post, following up with a more in-depth look at some of the individual APIs in posts over the coming weeks. I've used material presented at our most recent ADN Developer Days tour as a source of information (a big thanks to Fenton Webb, from DevTech Americas, who was largely responsible for developing this content). Before talking about the new APIs, the first thing to note is that…

  • The recording of the October 4 session from the AutoCAD Development Masterclass series, "AutoCAD: 10 easy ways to crash your AutoCAD addin", has been posted here. I will let you know as soon as the recording of the October 18 webcast, "AutoCAD: .NET for LISP Programmers", has been posted. Enjoy! ๐Ÿ™‚

  • As promised in this earlier post, here's the recording of the "Custom Objects Masterclass" session held on July 12. The next in the series, "Creating an Installer", is scheduled for Thursday August 16. You can go here to register (like all in this series, this session is free for all to attend).

  • Over the last few years my team has been delivering more and more webcasts about the APIs to our various products. I'd strongly recommend checking the schedule on http://www.autodesk.com/apitraining from time to time, to see what's there. These webcasts are free to everyone, not just ADN members (although the ADN site does reference the various recorded presentations). Right now we're in the process of delivering a series of webcasts covering advanced AutoCAD programming topics, with information relevant to those programming with either ObjectARX or .NET. The first was delivered a few weeks ago, and covered "Storing Custom Data in a…

  • This question has come in from a number of developers... How can I tell when my application is running inside a 64-bit version of AutoCAD? As mentioned in this previous post, AutoCAD 2008 installs as native 64-bit binaries on a supported 64-bit OS, just as 32-bit binaries get installed on a supported 32-bit OS. A minor complication is that certain of our AutoCAD-based products do not yet have native 64-bit versions. Our Engineering teams are working on this, but in the meantime, your application might well be working inside a 32-bit Autodesk product on a 64-bit OS. So how do…

  • In the previous two posts we looked at the new ObjectARX samples and the new .NET samples available for AutoCAD 2008. AutoCAD 2008 also exposes a number of new APIs (and enhancements to old ones) for which we don't have new SDK samples. Take a look of the 'Migration Guide for Applications' for a comprehensive list of new classes and new methods and properties within classes. Check the AutoCAD Managed Class Reference for Managed equivalents. And once again - let me know if there are any of specific interest to you, and we'll see what we can do. ๐Ÿ™‚ Layers…

  • The coming posts will look at the various new APIs in AutoCAD 2008. Here is the way I've decided to serialize the information: New ObjectARX samples - this post New .NET samples - the next post Other new APIs - the following post So this post focuses on the new C++ samples on the ObjectARX SDK for AutoCAD 2008, talking about their corresponding features and APIs. Thanks to Stephen Preston, our DevTech Americas Manager and the presenter you may seen in the previous post, for providing the bulk of this information. Annotation Scaling One of the most highly anticipated new…

  • We've been talking to ADN members (under non-disclosure agreements) for a number of months about the 2008 family of Autodesk products, and with these products officially announced I can now talk more publicly about their features and APIs. This week I'll focus on AutoCAD, but I plan to describe the new feature-/API-sets of other Autodesk products over the coming weeks. So what's new in AutoCAD 2008? There are a number of very interesting new features and APIs, which I'll talk about in coming posts, but for now I want to address the more fundamental question around application migration. Firstly, AutoCAD…

  • This is an interesting topic โ€“ and one that I'm far from being expert in โ€“ so it would be great if readers could submit comments with additional information. Intellectual property protection is a major concern for software developers, and issues that are seen today with .NET languages have been troubling AutoCAD developers since the introduction of AutoLISP. So, what are these issues? As a professional software developer, if you ship source-code to your customers there is substantial risk of it being borrowed or stolen for use in other unlicensed situations. This is true if you ship the actual source…