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...
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...