TheSwamp

CAD Forums => CAD General => Topic started by: HasanCAD on January 11, 2017, 03:37:21 AM

Title: How to Extract all commands in a CUI file?
Post by: HasanCAD on January 11, 2017, 03:37:21 AM
is there a way to Extract commands used in a CUI file?
Or export data as excel sheet?

Thanks

Title: Re: How to Extract all commands in a CUI file?
Post by: dgorsman on January 11, 2017, 10:13:19 AM
CUIx is ZIP-compressed XML (plus a few other items).  I suspect CUI is simply uncompressed XML.  Either way, once you have the XML you can apply an XSLT transform to get the contents you want, in an acceptable format.  You could also use XPath to parse out the contents programmatically.