Drawing structure
-
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 […]
-
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 […]
-
This is a really fun one: a new technology preview on Autodesk Labs that integrates powerful sketching – such as that available in SketchBook Pro and SketchBook Mobile (both of which I've played around with, at one point or another) – into AutoCAD 2010. Now it's not immediately apparent what the benefits are for having […]
-
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 […]
-
Sometimes I receive a question which makes me think "I must have posted something that shows that by now, surely?" and yet I can't find it. So please accept my apologies if this post is redundant and I'm just repeating myself. 🙂 Here's the question that had me thinking: I don't know how may I […]
-
Thanks to Philippe Leefsma, from DevTech in Europe, for the ObjectARX code that inspired this post. In AutoCAD it's possible to create non-rectangular viewports in paperspace using a variety of closed curve objects: circles, polylines (2D, 3D and lightweight), ellipses, regions, splines and faces. In this post we're going to see some code that creates […]
-
A philosophical question regarding the Layer Reporter tool came up in a recent discussion with Tony Tanzillo. Tony suggested that using XML and XSLT would have been a better way to implement the tool, and in many ways I agree with him (I've been an advocate of XML for many years… during my interview to […]
-
I feel like I'm posting a lot about our Plugin of the Month initiative, at the moment, but then I suppose it's to some degree a function of what I'm spending time on. It's definitely eating into the time I would normally focus on blogging… after a number of AU-related posts coming out over the […]
-
In the most recent part of this series, we looked at one possible mechanism to allow points to be moved along a network of curves, extending the first part in this series, which focused on the case of a point on a single curve. This post is going to focus on something slightly different: it's […]