AutoCAD
-
This very good question came in by email from Patrick Nikoletich: I was wondering what the preferred method for overriding the default "Open" common dialog in AutoCAD 2007 would be? I can catch the event but can't send AutoCAD a command to cancel the request so I can launch my Win Form instead. This is […]
-
The bulk of this code was donated by Virupaksha Aithal, a member of our DevTech team in India. It's fairly common for developers to want to check for user input from time to time during long operations, especially to see whether the user wants to cancel the current activity. In VB you'd use DoEvents() to […]
-
This question came in a couple of weeks ago from csharpbird, and I promised myself to turn it into a post: The Hatch class of the current AutoCAD version does not provide the OriginPoint property.How to get/set the OriginPoint of the Hatch object using P/Invoke? The reason I wanted to delay making an official post […]
-
This comment came in overnight from Brian: I was hoping to work out how to get the Entity from the handle and then erase it, from your posts, I've learned a lot but not found the answer to this one yet, I still have a mountain to climb. (I'm using VB.NET, I've done it in […]
-
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 […]
-
In the last post we looked at the new ObjectARX samples for AutoCAD 2008, while today we're looking at the .NET samples. In the next post we'll look at the other new APIs available with AutoCAD 2008. With the exception of custom objects, .NET now includes essentially all the functionality available in ObjectARX. While the […]
-
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 […]
-
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 […]
-
In the last post we looked at some code that combined user-input from the AutoCAD command-line with .NET reflection to determine an object type, a property belonging to that type, and the value to which we want to change that property on instances of that type (phew!). Here's where we look at hooking that up […]
-
I ended up having a fun weekend, in spite of the circumstances. My wife and eldest son were both sick with a cold (which, inevitably enough, I now feel I'm coming down with myself), so we mostly stayed around at home. So I got to spend a little time working on an idea that came […]