|
Welcome, Guest.
|
||||||
| Revit - Worksharing/Worksets A place to discuss worksharing in Revit. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Count (Formula)
Join Date: 2005-07
Location: Missouri City, Texas (Houston area)
Posts: 2,991
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi all,
This discussion has been brought up several times in these forums and it's been brewing in my mind for a while. So finally I came up with something elegant and easy to use. Just drop the exe where your Central file is and create a shortcut to it so you can run it easily. NOTE: To make this post more concise, I took out all the detailed information about what the program/script does. All the detailed information, together with a version history and instructions for how to use the program, are now available in the Readme.txt file included with the new zip. #### Version 4 (x64) - 05/08/2009 Now also compatible with 2010 all the way to 2008. Please see readme.txt for changes. It pretty much still works the same as before. #### Version 3 (x64) - 02/05/2009 Same version but now works with the following combination: a) 32 bit OS with 32 bit Revit b) 64 bit OS with 64 bit Revit Assumes Revit is installed in the Program Files folder. #### Version 3 - 03/30/2008 a) Check for Revit build between users for the same project. Warn users that are using a build# other than what was used to create the first local file using this program. b) Revit will now always open maximized. c) Check if Revit is already open with a local version of the same project, belonging to the user that is running the script. If so, Revit issues a warning and stops running. d) Program will now launch any Revit version and flavor from 2008 onwards (until Autodesk changes the naming again!). e) Added animated splash screen which appears while a Revit session is opened. This goes away once the Revit splash screen appears. f) Added Readme.txt to the zip. #### Version 2 - 03/01/2008 a) Script now creates project folders named XXXXX #VV (see 1 for explanation) in C:\Revit Local Files\ b) Implemented "Command Line Parameters" (similar to switches) in shortcuts to instruct the script to either just open the local file, or open a detached copy, or specify worksets to open. c) Custom icon added. #### Version 1 - 08/10/2007 ------------------------------------------------------------------------------------------ Note: This program/script was compiled with AutoHotKey (they have an outstanding support forum!) using notepad as the script editor. Last edited by dbaldacchino : 2010-01-21 at 07:28 AM. Reason: Version 3 updates & new zip uploaded |
|
|
|
|
|
#2 |
|
All AUGI, all the time
Join Date: 2005-04
Location: South Africa
Posts: 792
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
David this looks like a really cool application that could be really useful. I know of a number of times when I could have used something like this. Cheers thanks.
__________________
BIMHighway Content management and cost estimating solution for Revit The CWC Streaker! CWC Brotherhood Member! |
|
|
|
|
|
#3 |
|
Count (Formula)
Join Date: 2005-07
Location: Missouri City, Texas (Houston area)
Posts: 2,991
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
NP
|
|
|
|
|
|
#4 |
|
AUGI Addict
Join Date: 2003-05
Location: Royal oak, Michigan
Posts: 1,479
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Che schifio!!! oooh, non ti posso dare punteggi verdi...devo darli agl'altri prima di dartene a te!!!!!
Che cose da matti!!!! Bravo!!!! |
|
|
|
|
|
#5 |
|
Count (Formula)
Join Date: 2005-07
Location: Missouri City, Texas (Houston area)
Posts: 2,991
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Che schifo?! Ma dai! Nessun' problema, quando c' incontriamo ad' AU, beveremo un paio di birre....preferisco una Peroni piuttosto che punteggi verdi!
Ok, I'm turning the Italian off now |
|
|
|
|
|
#6 |
|
100 Club
Join Date: 2005-02
Location: St Louis, MO and Tirunelveli, India
Posts: 107
![]() ![]() ![]() ![]() ![]() ![]() |
This is cool!
I am asking too much...but is it possible to post the script, please? I would like to edit the script to work for: We use only RVT Architecture and our local files are at "C:\Projects\<<Project no>>\". And instead of copying the EXE file into the central file folder, I am thinking of copying the EXE into Windows Path and run it in command line from the windows start menu > Run. Thanks |
|
|
|
|
|
#7 |
|
Count (Formula)
Join Date: 2005-07
Location: Missouri City, Texas (Houston area)
Posts: 2,991
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
The way the script works, it has to reside in the Central file folder. You can create shortcuts to different exe files for different projects and run them on startup.
|
|
|
|
|
|
#8 |
|
NavisWorks Moderator
Join Date: 2004-07
Location: Fort Collins, CO
Posts: 1,247
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Very nice David, I created the same thing just in a less fancy fashion through batch files, about the only difference is mine does not open the local file so you can specify what worksets to open initially
|
|
|
|
|
|
#9 |
|
Count (Formula)
Join Date: 2005-07
Location: Missouri City, Texas (Houston area)
Posts: 2,991
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Good point about specifying the worksets. We haven't crossed the need to selectively open worksets yet, although on the largest Revit project we're working on, I think we'll soon have to as things are already sluggish (moving walls takes Revit 5 seconds a pop to think about it). I didn't try the bat file approach simply because I didn't know how to and I found the AutoHotKey documentation easy to follow
Thanks for sharing your scripts too! |
|
|
|
|
|
#10 |
|
I could stop if I wanted to
Join Date: 2007-03
Location: Phoenix/Tempe
Posts: 242
![]() ![]() ![]() ![]() ![]() |
Very slick, David! I'll have to explore this some more. I actually utilize some heavy-duty batch scripting to do this in my office with the same results almost and it creates backups by date, too with two months only of history, and while I can kick-on Revit through the *.bat and open any given file, if I do tell it to open a file, it still has the same issue as your *.exe that we cannot control the specification of which worksets we want to open or close. Instead, we are proposing to change our scripts to just kick open Revit and let the user do the rest afterward (so long as the INI is pointing to the right default folder this is a snap for the users). I am attempting to combine the *.bat to run a little VBA script over Revit, looking for software that will mimic a drag and drop of a text file, but this is all very tricky geeky scripting stuff that I have very little time for lately... Thanks for posting all of this!
Best, LC |
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Recover backup of Revit Central or Local File | pbyrne | Revit - Worksharing/Worksets | 2 | 2006-10-21 06:39 AM |
| Worksets - local file size | Elrond | Revit - Worksharing/Worksets | 13 | 2006-03-28 09:16 PM |
| Can I do this with the API, or via a journal file, or combination of the two? | robert.manna | Revit - API | 7 | 2006-03-18 03:53 PM |
| Recreating Local File from Central - requires new file name? | Haden | Revit - Worksharing/Worksets | 7 | 2005-09-23 08:15 AM |
| Template File Creation | ablair.69905 | CAD Management - General | 6 | 2004-07-19 09:32 PM |