Drawing structure
-
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 […]
-
Thanks for Chris, Dan and Dale for pointing out the obvious issue(s) with my last post. Let's just blame it on a few holiday cobwebs needing brushing away during the first week back in the saddle. ๐ The main issue with my previous implementation was that I'd somehow forgotten that Database.Insert() allows you to insert […]
-
Important note: the code in this post โ while potentially interesting, at a certain level โ has been superceded by the code in the following post. Please go ahead and use that simpler, more complete implementation instead. This question came in, over the holidays, that seemed like it was worth addressing: How do I get […]
-
As Scott has announced over on his blog, January's Plugin of the Month, DrawOrder By Layer, is now available on Autodesk Labs. I first posted the code for this very useful plugin back in October, and this version includes only a very minor change from that one (for performance reasons it now only works with […]
-
After a break of a week, I thought it was time to take the QR Code application a little further, after our previous versions creating basic QR codes at a fixed location, using user-specified corners and using a jig. The code in this post adds quite a bit of functionality to the application: The ability […]
-
Following on from these two posts, we're now going to implement a jig to create our QR Code raster images inside AutoCAD. Today's approach isn't radically different from the previous one prompting selection of corners, but we do get to see the actual (square) boundary of the raster object as it gets defined. It would […]
-
As promised, the code in this post extends that from the last post to add some user selection to the process of defining and placing a QR Code in an AutoCAD drawing. This version of the code also makes sure the raster is positioned in an "upright" orientation, irrespective of the order in which the […]
-
This week I decided to get started on the QR Code Plugin of the Month I mentioned in this previous post, and show a few interesting techniques along the way. The introductory post mentioned a few different approaches for creating/embedding the codes in a drawing. For now โ as it's by far the simplest โ […]
-
AutoCAD's Product Design team are considering the possibility of automatically removing unnamed groups that are either empty or only contain a single item. The question, though, is whether anyone out there is for some reason relying on the existence of such groups, and consequently whether we would therefore be risking breaking applications or customizations should […]