Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Tuesday, September 10, 2013

Learn to Program the Revit API

If you are interested in learning the Revit API Harry Mattison (Boost Your BIM) created an online course hosted at Udemy (The Academy of You).

It's delivered in 33 video segments which vary from a few minutes to a little over fifteen minutes. It's also very reasonably priced at $149.00. Maybe I'll see you on campus?

Learn to Program the Revit API

Monday, June 3, 2013

Revit 2014 API Languages

Revit 2014 has added a couple new language options for people who can speak to Revit through its API (application programming interface). If you have a long history with CAD you might have spent more than a few hours "Lost in parenthesis" (LISP)? In Revit we can get lost in them when we deal with conditional formulas in the family editor.

In Revit 2013 the API supported two languages C++ and C# (technically any VB.net language). Revit 2014 has added Ruby (aka Ruby on Rails) and Python. If you have no programming experience they are not gems or reptiles, just alternatives to the far more widely used C++ and the much newer C# (and supposedly "easier to learn").



The dialog is a little smaller too (really subtle eh?).

If you are looking to get started with the Revit API you might consider Don Rudder's book:

Instant Autodesk Revit 2013 Customization with .NET How-to

Looking for some hands-on training with a sherpa? Get in touch with Harry Mattison (Boost Your BIM), he's gone from deep within Autodesk working on Revit and its API to the life of a freelancer who shares his knowledge on his blog and creates applications for hire. He's started offering some online training too.

Don Rudder and Case-inc have also offered API focused training in the past and are always considering hosting another so keep an eye on their site for a future class offering.

I've also written a couple blog posts before about getting started with the API (though I'm still remiss in taking it seriously myself).

Getting Started with the Revit API
My First Revit Plug-in

Years ago when I did some programming more seriously I found the book "Code Complete" by Steve McConnell quite helpful to help understand the process and concepts.

Happy coding!

Monday, February 18, 2013

View Template Usage

The other day I wrote about my transition between Revit versions and differences between what we can do with View Templates. Harry "Mr. Boost Your BIM" Mattison offered some code to relieve the tension. It's pretty cool how few lines of code and provide useful answers. Check out his post. Be sure to read his post tomorrow too, he's going to enhance it a bit and share that too!

Wednesday, January 16, 2013

Image-O-Matic

Earlier I wrote that Harry started a blog (Boost Your BIM) focused on using the Revit API to enhance your projects and process. He created his first formal application, Image-O-Matic, which is now available on the Autodesk Exchange. When I first saw it I thought about using it to document testing family parameters and types.

He decided to run a contest to encourage Revit users to get acquainted with the app. He offered up a tantalizing video of Marcello Sgambelluri's work to get your creative urge going. Visit his site for all the contest details. Here's an embedded copy of the video he posted.


Monday, December 3, 2012

Boost Your BIM

Harry Mattison has joined the API blogging world for Revit with "Boost Your BIM". He's started out with a practical project dealing with the tragic Duplicate Mark Value error we receive on projects that use worksets. Each post is a step in and through the process. He's only just begun with a few of the steps (posts) so far. I believe the intention is to take it slow and easy enough that even I can do it! Here's hoping Harry can keep at it!

Thursday, February 9, 2012

Pushing Parameters Around

Alternate title, "Getting What I Want"

I wanted to show a parameter for Mounting Height. I needed it assigned to a variety of elements. This isn't hard for families that are not hosted. Face-based families on the other hand seem to know what their "Elevation" value is but they are uninterested in sharing that data with a schedule. It's just not listed in the Available Fields list. Mean Revit!

This is a story of a white knight coming to the rescue, or rather Whitefeet coming to the rescue.


Obviously not the cat, I must mean the tools that Mario Guttman has made available to us via his alter ego "Whitefeet Tools". To get what I wanted I created a shared parameter called Mounting Height and added it to my project. For this post and this example I've assigned it to the cateory Data Devices. Once that's in place the steps are pretty easy (apart from getting the tool installed).

You either select all the devices first or just tell the tool to apply it to everything in the model. You start by running the Parameter Tools.


Next you click the Math Calculation button.


Now you've got to fill in some blanks and click a button.


When your information matches the image (change the category appropriately, I show Security Devices for example, Obviously this picture and the next one don't sync up, taken at different times).

Once the routine runs you can close the open dialog boxes and check the results. Cool eh?


Want to watch a video?



Wednesday, September 7, 2011

Whitefeet Utilities Updated for 2012

Mario tweeted earlier today that he's updated his utilities for Revit 2012. It's good timing, I was just going to ask him about his Sheet Set Manager too! It allows you to update sheet list schedule from Excel data or vice versa.

He started Whitefeet some years ago and returned to doting on it after departing HOK and joining Perkins & Will. Unfortunately for us, his full time gig with Perkins and Will means he's got little or no time to dote on "the feet" again.

Worth checking out his tools, see if you like them!