|
Welcome, Guest.
|
||||||
| Revit Architecture - Tips & Tricks Got a hot tip? Share it here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
I could stop if I wanted to
Join Date: 2007-06
Location: Melbourne, Australia
Posts: 482
![]() ![]() ![]() ![]() ![]() |
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 |
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|
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 |