All available seats were taken with 20 participants.
Follow the link above to get to all the interesting material we looked at.
It reminded me somewhat of the early days of AutoCAD programming, where the more elegant AutoLISP solutions tended towards functional programming... Remember car, cdr, mapcar, apply and lambda?
Basically, that is part of what we talked about.
Look up Haskell Brooks Curry, mathematician and logician, with three programming languages named after him, Haskell, Brooks and Curry, as well as the concept of currying, a technique used for transforming functions in mathematics and computer science.
Here are some of the additional notes I took:
- Idempotency is recommended for all REST call implementations, i.e., repeated calls to the same REST URL should return the same consistent result. For instance, if a first call to a URL ending in /delete/id returns the response 'deleted' or 'OK', i.e. 200, then all the further calls to the same URL should return the same value. Many implementations return something different, e.g. 'not found' on the second and all following calls. That is wrong; they should also return deleted or OK, or the idempotency will be violated.
Cool View and Data API Demos
Question: Is there any 'Demo' webpage to show-off what this View API can do?
It's a pity there are almost zero sample projects in an actually working Internet environment. I thought by now this would have been set up. Because clearly there has been a lot of work been put into this... The website developer.autodesk.com simply points to GitHub but those samples require some study to make them work... even images on the Autodesk website are not working API but simple images.
Our company is investing in new ways of showing our Revit models, and I suggested the View API, however since I could not show any impressive working model. I cannot convince anyone to invest in this...
Probably not the best place to mention this, but its frustrating every time I see View API in the title. Would like to see more demo pages...
Answer: The best place to ask for more appropriate samples is in the dedicated Autodesk View and Data API discussion forum: Autodesk Community –> Web Services API –> View and Data API discussion forum.
I would suggest submitting this comment there as well and see what the team has to say.
Here is a bunch of publicly accessible demo pages that will hopefully help fulfil your need, partially equipped with source code on GitHub to look at as well:
- mountcomp-stg.autodesk.io – github.com/Developer-Autodesk/client-mountsimulation-view.and.data.api
- timeliner.autodesk.io – github.com/Developer-Autodesk/client-timeliner-view.and.data.api
- checkoutmymodel.autodesk.io – github.com/Developer-Autodesk/workflow-aspnet-webform-view.and.data.api
- sapdemo.autodesk.io – github.com/Developer-Autodesk/integration-sap-view.and.data.api
- Steampunk – autode.sk/m3w
- Tractor – s3.amazonaws.com/FastViewer/index.html?file=frontloader/0.svf
- Office – s3.amazonaws.com/FastViewer/index.html?file=Waltham/0.svf
- Blog – adndevblog.typepad.com/cloud_and_mobile/stephens-test-page.html
By the way, I looked at David's web site and really like the photos.
Another example of combining photography and Revit API programming, just like my colleague Jaime.