Zoom your BIM

by Guy Robinson 8. December 2008 12:28

Jeremy has started to cover how you can use Win32API methods to enhance your commands. I’ve been doing a lot of this recently and I found a simple way to establish the handle for the active Revit session the command was run from.  This is important because Users can have multiple sessions running at once , so enumerating windows to find the handle needs additional techniques to ensure you get the correct handle.More...

Streamlining your Filters

by Guy Robinson 5. December 2008 14:28

As I’ve said before on AUGI, if you aren’t using Filters in your command development then you should be with Revit 2009. However as you start to use them in more complicated scenarios your code can get a little unwieldy.

In this post I’m going to show you some methods to tidy up your code a little. In the following example we’re going to get all doors where the sill is less than 0.0 above the floor level and all windows where the sill is less than 760mm above the floor level. More...

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.