A significant milestone

by Guy Robinson 1. April 2009 17:07

After a considerable amount of work I’ve finally managed to complete what is by far my most significant Revit API command to date. In trying to figure out what would attract AutoCAD users to Revit I hit upon what I consider to be the missing link. This command will also be very useful for Revit experts.

Utilising JAVA for crossplatform support, OpenGl, .NET, WCF, AJAX, WPF, REST and a little bit of a cloud database platform I’ve implemented a distributed natural language commandline for Revit. That’s right a commandline for Revit!!! Here’s a screen shot:

NLCommandLine

The Revit 2009 application is here. All assemblies must be in the same directory. Note it’s a command application not an external command and it adds a Redbolts menu rather than adding an entry to external tools. And sorry no source code for this one. The intellisense has a bug at the moment so you’ll have to get the syntax of your queries right. I’m just so excited I couldn’t wait to get this out for you to try. Here’s some examples of syntax and some queries to try.

Please return all walls with width < 4000mm

Please sum all window areas on level 1

Please return all rooms with external doors

You must start a query with please , I needed a trigger string for a query and this seemed a polite option;-)

Enjoy, and any questions please leave a message or send me an email.

Comments (7) -

Robin Capper
Robin Capper New Zealand
4/2/2009 7:14:39 PM #

Very cool, I was going to request something like the old AutoCAD screen menu, with it's tool options on the side of the main workspace, but I see it's already there on the far left!

Anthony
Anthony New Zealand
4/3/2009 5:19:43 AM #

Lol brilliant

Rod
Rod Australia
4/3/2009 6:56:42 PM #

haha well done. Fell for it hook line and sinker, that'll teach me to not read my RSS feeds for a couple of days

Matt Mason
Matt Mason United States
4/4/2009 12:04:43 AM #

You got me!

Guy Robinson
Guy Robinson New Zealand
4/4/2009 7:06:14 AM #

Rod, Matt disappointed Wink Wink Did I not put enough technology acronyms in the post Wink FWIW, if Revit ever has a commandline it's dead as a platform...

Basam Yousif
Basam Yousif United States
4/7/2009 6:15:56 AM #

Since day one I met Revit I have been talking to people about my dream of the day when 'I learn Revit API so I can make a command line' !!!
I mean being an AutoCAD user for several years, made me hate the fact that Revit "did not talk to me. I want it to TALK to me" !
Now that the miserable 2010 UI is here, your application is worth both GOLD and PETROL !!!!!!!
I will test it and give you feedback. Hope you not mind Smile
B

Guy Robinson
Guy Robinson New Zealand
4/7/2009 9:26:20 AM #

Test away Basam Wink I'll say it again... Revit gets a commandline it's dead as a platform for BIM.

Comments are closed

About the Author

A .NET software Developer providing custom applications and commands for architecture firms exclusively working with Autodesk Revit and integration with any associated applications. All from a little place north of Whitianga, New Zealand.

Page List

Disclaimer

I'm self employed so the opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway☺

© Copyright2008

Creative Commons License
Blog content is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.

With the following exception. All code snippets, application and libraries are licensed under a a Apache License Version 2.0

Autodesk Revit®

Autodesk: Revit is a product that is wholly owned by Autodesk. Any reference to Revit,Revit API, Revit Architecture, Revit MEP or Revit Structure on this site is made acknowledging this ownership. Refer to Autodesk's own web site and product pages for specific trademark and copyright information. Autodesk represents a great many products and every attempt will be made to respect their ownership whenever one of these other products is mentioned on this site.