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 first. Here’s the updated C# code, with new/modified lines in red (and here’s the updated source file): 1 using Autodesk.AutoCAD.ApplicationServices; 2 using Autodesk.AutoCAD.DatabaseServices; 3 using Autodesk.AutoCAD.EditorInput; 4 using Autodesk.AutoCAD.Runtime; 5 using System.Collections.Generic; 6 using System.Text; 7 using System.Xml; 8 using System.Xml.Serialization; 9 using System.IO;... Read more →