Things have been a bit hectic the last couple of weeks, just like every December, what with Autodesk University and the DevDays Conferences.
I am still cleaning up various open issues and looking forward to settling down into Christmas real soon now.
Here are a couple of items to share from the last few days:
- AU 2014 classes online
- Family type preview images
- InfraWorks 360 REST API
- Moscow DevDays, Meetups and Hackathon
- I Love 3D
- More Wrapping Up to Come
AU 2014 Classes Online
The classes from Autodesk University 2014 are now accessible online.
Family Type Preview Images
Question: I am writing a Revit add-in app. Part of its functionality is to display images of families, furniture, windows, etc.
Can you point me to some code examples for this functionality?
Answer: You can simply call the Revit API ElementType.GetPreviewImage method.
Here is a really old example from May 2010 of reading a preview image.
It introduced a new external command CmdPreviewImage in The Building Coder samples, which nowadays live in the The Building Coder samples GitHub repository and therefore have been continually updated for the current versions of Revit.
InfraWorks 360 REST API
I don't normally deal much with InfraWorks.
However, it was on my plate during the DevDays conferences as part of the AEC and infrastructure sessions, so here is a query on it that I happened to be involved in:
Question: We have been using InfraWorks since the first release and see a lot of potential in the product. We are very curious about the REST API and have a couple of questions about it:
- Is the REST API read-only or can the users edit data through the REST API? For example, what if a municipality has a model for a city plan and wants to gather comments about the plan from the citizens. It would then be great if we could, through the REST API, grab an object from the model, for example a surface, publish it, and make the attributes on the object editable to the user. We have been working with mapguide-rest and the GeoREST API for this type of editing and publishing.
- Will we be able to publish the model through a server or is it limited to Autodesk 360?
Answer: Thanks for reaching out. We are indeed releasing an InfraWorks 360 REST API, which is currently available as part of our Beta program. The API is used to read model data, such as lists and detailed element information. The models are published using the desktop client of InfraWorks 360, like any other model, by syncing it to the cloud, from where it becomes accessible through the API.
Here are some links with more information:
- The InfraWorks 360 REST API at Autodesk University
- Importing alignments from InfraWorks 360 to Civil 3D
- InfraWorks 360 REST API Tech Preview
Please get in touch with Augusto if you would like to use the InfraWorks 360 API so we can discuss and ensure we provide all you need.
Moscow DevDays, Meetups and Hackathon
In between wrapping up the past, I am also looking toward the future, planning the beginning of next year.
I will be going to Moscow for the Russian DevDays conference and meetup on January 29 next year. In a way, that is wrapping up as well, isn't it? That will be the last conference in the worldwide series.
If you happen to be around during that period, I would love to see you there!
The other meetup participants were pretty thrilled as well, so we went right ahead and organized another meetup there at Milano JS – il DOM di Milan! on February 10 next year.
Here is the latest version of my blurb for that:
I Love 3D
For web designers and software developers, we will show how to make 3D models on the web much more immersive and engaging. We'll also check out 'VR on the cheap', real virtual reality using Google Cardboard.
You may have created fantastic 3D designs. Isn't it frustrating that your website is all in 2D? Now you can also easily embed interactive, intelligent, truly stunning 3D models into your web page, web application, or desktop application.
WebGL is a powerful technology for enriching the web with interactive 3D graphics. How do we get it into the hands of the people, provide easy general access to everyone? I'll walk through all aspects of publishing and delivering 3D models on the web through a simple easy pipeline, providing a powerful 3D web graphics tool for programmers, designers and artists alike. Based on WebGL and three.js, it enables you, your friends and your customers to interact with the 3D model and query all the element metadata.
I also demonstrate how this engine can be elevated to the next level by delivering a stereoscopic interface to 3D models through a simple web page and Google Cardboard VR with no need to invest lots of money in complex equipment or hours of time preparing and publishing your model.
For an entry point to get started and learn more about the Autodesk 3D web technology, check out developer.autodesk.com.
See a full demo app at autode.sk/m3w.
For more details on this topic, please refer to the Autodesk View and Data API topic group.
By the way, if you are not aware of Kean's series of posts on the Google Cardboard stereoscopic 3D interface, you should definitely take a look right now:
More Wrapping Up to Come
Tomorrow is my last day for wrapping up before the break. Still lots to do...
Oh yes, and after wrapping up the work related items, I have to get going on Christmas presents, too!