I listed a whole bunch of upcoming events last week.
Now I have yet another one to announce, a webinar introducing the Autodesk View and Data API, immediately preceding the exchange apps hackathon.
There are less than two weeks left before the Autodesk Exchange Apps Hackathon, a two-day virtual web based coding 'festival' that will run from September 20 through to September 21, 2014.
This year's event is bigger and better than last year's, with new competitions and great prizes.
We've assembled a great line-up of speakers to give presentations and demos on hot topics that will help your overall app development, and technical experts will be on hand to help and guide you.
For full details and registrations, please visit www.exchangeapphack.com.
Please email email@example.com if you have any questions on the Hackathon.
We already looked at several aspects of the Autodesk View and Data API in the past few weeks:
The View and Data API is now public, and we invite you to attend a one-hour webinar introducing the View and Data API Beta in all its glory on Thursday September 18, 2014 at 8 am PDT.
In case you are not already aware of it, the View and Data web service API is a zero-client, browser-based viewer and associated (server-side) translation engine that will run in any WebGL-enabled browser. The viewer currently supports over 60 widely accepted design and 3D file formats. One advantage of the View and Data API is that the viewer has access to the rich data embedded in the original design, including properties, parameters, inter-object relationships, materials, etc., and that models are streamed, so you can start interacting with a very large model without waiting for the entire file to be downloaded from the server.
Registration: To reserve your place, send an email to firstname.lastname@example.org.
Please make sure you include:
We look forward to talking with you in the webcast.
If you would like to dive in right away instead of waiting for the webinar, you are welcome to apply for an API key at developer.autodesk.com and start experimenting beforehand. Note that the API keys are still approved manually, so please be patient waiting for your approval.
Let's address one quick little pure Revit API issue before closing again:
Question: What's the right way to tell the difference between a panel and a switchboard using the API? For example, in the basic MEP sample project, how do I tell the difference between SWB and MDP-1?
Answer: The class name and category of the two objects are indeed identical.
Therefore, you have to search for some additional differentiating characteristics.
The RevitLookup database exploration tool provides a useful utility for doing so.
Using that, I noticed that the panel has an INSTANCE_SCHEDULE_ONLY_LEVEL_PARAM built-in parameter, which is not present on the switchboard.
You might be able to use this to distinguish between the two.
I would always recommend implementing a test suite, though, to ensure that all the various assumptions like that made by your add-in really remain valid for all of the models you work with.
You may discover that different models and different workflows introduce different sets of parameters on the various elements.