I’ve been working with AutoCAD I/O quite heavily over the last week or two – mainly spending time fleshing out my Jigsawify web application well in advance of AU2015 – and came across this helpful trick for visualizing an OData-based REST API graphically: you can copy and paste the XML schema for the AutoCAD I/O API into a file and then load it into the handy XOData tool.
Here’s what was generated (after a little editing from my side for layout):
I’m making pretty good progress using AutoCAD I/O from Node.js – which is interesting as I can now run my edge-detection code both in the browser and on the server – but I still have a few issues to iron out before I can complete the series I started some time ago. Watch this space!
Update:
Thanks to Ram from PragmatiQa, who pointed out it’s possible to link directly to a diagram of the AutoCAD I/O API. He also mentioned that it’s possible to make queries via the XOData tool, but not to get results (as the AutoCAD I/O API requires authorization).
@keanw ..cheers! ..to add - your blog readers will be able to make OData queries but not get results (due to auth) pic.twitter.com/4octFMU40d
— Ram Manohar Tiwari (@rmtiwari) July 22, 2015