AutoCAD
-
This question came in via a comment from Danny Polkinhorn on this post: After AutoCAD has launched, I often have a need to determine the "Start In" directory specified in the shortcut (Right-click AutoCAD shortcut, Properties, Start in). Is there a way to determine what that directory is? I'm thinking I can use the path […]
-
This topic has been raised a few times, and Adam Nagy, from our DevTech EMEA team, sent a technical response recently with code that I decided to use as the basis for this post. Developers typically want to either integrate functionality into AutoCAD (using its plug-in architecture to add commands, user-interface elements, objects, etc.), or […]
-
This topic was suggested via a comment from Dale Bartlett on this post. In AutoCAD 2008 an API was exposed for the Wipeout object. For those of you who aren't familiar with Wipeouts: this handy object was originally developed as part of the AutoCAD Express Tools, and has since been integrated into core AutoCAD. The […]
-
The last post got me thinking about how to get the names of all the colours that are contained in a particular color-book inside AutoCAD (the last post also contains the explanation for my using both "color" and "colour" in the same sentence, in case that bothers anyone :-). Color-books are stored in .acb files: […]
-
Another quick post, as I'm just about to head back home after a long week in Boston. This post comes from a technical solution provided by Sreekar Devatha, from DevTech India. I won't go into detail regarding the following code, but it should be fairly clear what's going on: from a particular colour-name it looks […]
-
In parts 1 & 2 of this series we looked at metaprogramming with AutoCAD using AutoLISP and VB(A), and then using VB.NET and C#. In this post we're going to look at what's possible from F#, through the lens of my relative inexperience with the language, of course. The quotations mechanism in F# appears to […]
-
In this post we're going to continue the topic started in Part 1 of this series, which looked briefly at metaprogramming with AutoCAD using AutoLISP and VB(A). Now we're going to look at .NET, focusing initially on C# and VB.NET. [I found the inspiration for the code in this post from The Code Project, although […]
-
A recent comment on one of my F# articles got me thinking about this topic (thanks, Thomas! :-), so I thought I'd write a few posts on it. Next week is AU, and the week after that I'm attending a training class in Boston, so posts may be a little sparse over the coming weeks. […]
-
In one of my sessions at this year's AU, "There's More to .DWG Than AutoCAD®", I'll be showing some VB.NET code that goes through and collects information about solids, presenting it in a dialog along with the sum of the various volumes. You can get the code and the results from Part 1 of the […]
-
I've been working through some draft chapters of Don Syme's Expert F# book (posted here, while the final version will be available in hardcover from early December). I'm definitely enjoying working with F#: the beauty of functional programming combined with the flexibility of .NET is a killer combination. Before I dive into the sample I […]