AutoCAD .NET
-
A big thank you to Jim Cameron from Dematic for providing the code for this post, and to Wayne Brill from DevTech Americas who helped him on his way via ADN support. I've made a few changes of my own to the code, but the concept is very much Jim's. Jim recently had a frustrating […]
-
I received this question by email from Vito Lee: I am trying to write an event handler function in C# and can use your expertise. I am trying to display an alert box whenever a user erases a specific block in a drawing. Which event handler would be best for this situation? This one is […]
-
This is a minor pet peeve of mine that I felt like sharing. Feel free to post a comment if you agree, disagree or have your own pet coding peeve to share with other readers of this blog. I quite often see .NET code that tests for the value of a Boolean to see whether […]
-
In the first post in this series we looked at the basic (and free) capabilities of the upcoming version 6 of .NET Reflector. Today we'll look at the "Pro" capabilities, which integrate decompilation with debugging of 3rd party assemblies. To get started, we should see a new ".NET Reflector" toolbar inside our Visual Studio installation. […]
-
As many of you will know, by now, I'm a big fan of Reflector. I've used it for quite some time, since its early days as a piece of freeware developed by Lutz Roeder, and overall it's proven to be an extremely valuable tool. When a UK-based company, Red Gate Software, acquired the Reflector technology […]
-
Thanks to Stephen Preston from DevTech Americas for the code that originally inspired this post. A nice little one to start the week. We're going to ask the user to select a bunch of lines and we'll then go through and edit each one, extending it in both directions by a quarter of its original […]
-
As a comment on this previous post, MikeR posted this request: Hi Kean, I'm the one that instigated this original question about group filters. That part is working fine and I can also set the active group filter in the file. Now I need to make parent & child filters. How can I add child […]
-
In the last post we looked at some code to define a block and insert it into the model-space of an AutoCAD drawing. Today we're going to look at creating a group. Before we dive into the code, it's worth taking a quick look at the difference between a block and a group, to understand […]
-
This post – and its sister post, which will cover creating a group – are further topics I would expect to have already covered in this blog at some point, or perhaps to see covered by the AutoCAD .NET Developer's Guide (and I'm sure they will be in a future incarnation of it). So thanks […]
-
Back in this previous post we looked at some code to sweep an AutoCAD surface using .NET. As I mentioned in a later update, it's possible to also sweep an AutoCAD solid using .NET (since AutoCAD 2010: prior to that one had to use ObjectARX). I've just received a comment asking me to show how […]