AutoCAD
-
The reason for this post may be obvious to some โ probably those who are doing this kind of analysis already โ and less obvious to others โ who will have to wait for the next post to see why it's helpful. ๐ I won't ruin the surprise, but suffice it to say that for […]
-
Another month, another plugin. ๐ As announced over on Scott's blog a few days ago, the latest Plugin of the Month is now live. It's based on the code in this previous post, the only change being how the average point gets returned to AutoCAD's command-line: we now send it as a string that gets […]
-
It's time to wrap up the series on batch-reporting Registered Application IDs. For reference, here's how we got to where we are today: Implement a command to collect RegAppId information for the active document Extend this command to work on a drawing not loaded in the editor Save our RegAppId information to some persistent location […]
-
As raised as a possibility at the end of the last post, I did choose to throw together a quick XSLT stylesheet to generate an HTML report of the XML data created by our XRA command. To enable this I did make a few changes to our command implementation, which we'll take a look at […]
-
This post takes the code from the last post and extends it to serialize the collected RegAppId data to an XML file, as per Step 3 below: Implement a command to collect RegAppId information for the active document Extend this command to work on a drawing not loaded in the editor Save our RegAppId information […]
-
This post extends the code shown in the last โ very similarly named โ post, to work on a specified drawing, that โ very importantly โ does not get loaded into the AutoCAD editor. Step 2 in the list for this series: Implement a command to collect RegAppId information for the active document Extend this […]
-
Many of you will be aware of what has been referred to as the "RegAppId virus": drawings that have been unfortunately polluted with excessive Registered Application IDs โ which are used by applications to attach XData to entities โ have these RegAppIds brought into a main drawing when Xrefed, duplicating and duplicating IDs that were […]
-
This request came in over the weekend: There is a useful object snap in AutoCAD for the mid point of 2 selected points. I would like a midpoint (average) of 3 (or more) points. Could this work in 3D as well as 2D? It's useful when drawing building surveys, often you triangulate a point from […]
-
I owe Chris Kratz a huge thanks for inspiring me to do more with LINQ. This post uses LINQ to provide more elegant solutions to a couple of problems described in previous posts. The code in today's post is probably my second brief foray into the world of LINQ. The comments Chris posted on the […]
-
Thanks to Virupaksha Aithal, from DevTech India, for providing the technical response to an ADN member than inspired this post. When working with the Point2d and Point3d objects from AutoCAD's .NET API it's common to use the in-built collection types, Point2dCollection and Point3dCollection. Neither of these objects provides the capability to sort their contents (and, […]