Tuesday, February 9, 2010
Home   |   Search   |   About AUGI   |   My AUGI   |   Join Now

Go Back   AUGI Forums > AUGI Technical (English) > AEC > Revit > Revit Architecture Support > Revit Architecture - Tips & Tricks
 Welcome, Guest. 

Login

Join Now FAQ Members List Calendar Search Today's Posts Mark Forums Read

Revit Architecture - Tips & Tricks Got a hot tip? Share it here!

Reply
 
Thread Tools Display Modes
Old 2009-11-26, 07:00 AM   #1
iankids
I could stop if I wanted to
 
Join Date: 2007-06
Location: Melbourne, Australia
Posts: 482
iankids is going the right wayiankids is going the right wayiankids is going the right wayiankids is going the right wayiankids is going the right way
Default AutoHotkey - View Range

Hi All,

As part of the ongoing search for automated way of activating commonly used commands in Revit, I have written an Autohotkey script which will bring up the View range of a plan more quickly than the VP, scroll down, click button standard method.

I tried to discover the controls directly but it is buried somewhere in the deeper recesses of Revit and is way beyond my very limited code capabilities.

Thus, this script relies in part, on mouse clicks to work.

Before running the script, you will need to locate the correct positions for your screen so that the clicks are in the right spot. This is most easily done using AutoIt winspy which is downloaded as part of the Autohotkey pack.

Within the script there are two mouse clicks.

The first one (165, 219 as written in the script), simply activates the instance properties window which is open on the screen. This allows the page down command which follows to work. This first click location is not overly critical. As long as the mouse click is somewhere in the instance properties window, all following commands will work OK.

The second mouse click (306, 386 as written in the script), activates the view range button itself.

Crtl+q is the activation command for the script, but again, as with all other AutoHotkey scripts you can set this as you wish.

Cheers,


Ian
Attached Files
File Type: zip view range.zip (307 Bytes, 9 views)
iankids is offline   Reply With Quote
Reply


Go Back   AUGI Forums > AUGI Technical (English) > AEC > Revit > Revit Architecture Support > Revit Architecture - Tips & Tricks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
View Range DO-PRE Revit Architecture - General 2 2008-05-19 10:43 PM
view range again winnwgomez Revit Structure - General 4 2007-10-26 07:23 AM
Profile View Label Ref. Prof. View Sta. Range problem KansasCAD AutoCAD Civil 3D - Profiles 5 2007-05-22 07:47 PM
View Range? ford347 Revit Architecture - General 2 2006-07-24 02:41 AM
view range Sam AK Revit Architecture - General 3 2003-10-15 02:30 AM


All times are GMT +1. The time now is 06:29 PM.