The reasoning behind Autodesk’s release of these APIs is so that developers will be able to leverage AutoCAD WS’s web and mobile features within their own applications. AutoCAD first became popular when it enabled developers to build custom applications on top of AutoCAD such as plugins, custom objects and scripts.
Autodesk has announced that they are taking the first step in this direction by releasing a first set of APIs (application programming interfaces) for AutoCAD WS .
This new set of APIs enables developers of different languages to:
- Securely connect to an AutoCAD WS account
- These APIs already rely on the industry standard http based WebDAV protocol which can be used in a variety of programming languages such as C#, C++, Java and JavaScript to access
- AutoCAD WS’s allows functionality from within web browsers, desktop applications and server-side components
Here are two tutorials Autodesk released with full source code samples showing how to use the new set of APIs using either C# or JavaScript.
Click here for the C# API tutorial.
Click here for the JavaScript API tutorial.
These web apps shows how the APIs can be used to show AutoCAD WS files, access files’ metadata, upload new files, and open them in the online AutoCAD WS editor.
You can enter your own account details to check out the app or use this sample account –
Username: js_sample@autocadws.com, Password:123456
To learn more about AutoCAD.