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

Go Back   AUGI Forums > AUGI Technical (English) > AEC > Revit > Revit in General > Revit - Worksharing/Worksets
 Welcome, Guest. 

Login

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

Revit - Worksharing/Worksets A place to discuss worksharing in Revit.

Reply
 
Thread Tools Display Modes
Old 2007-08-11, 01:36 AM   #1
dbaldacchino
Count (Formula)
 
dbaldacchino's Avatar
 
Join Date: 2005-07
Location: Missouri City, Texas (Houston area)
Posts: 2,991
dbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining star
Lightbulb Transparent Local file creation

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.
Attached Files
File Type: zip Revit Make Local.zip (209.9 KB, 335 views)
__________________

Last edited by dbaldacchino : 2010-01-21 at 07:28 AM. Reason: Version 3 updates & new zip uploaded
dbaldacchino is offline   Reply With Quote
Old 2007-08-13, 04:50 PM   #2
Elmo
All AUGI, all the time
 
Elmo's Avatar
 
Join Date: 2005-04
Location: South Africa
Posts: 792
Elmo is a shining starElmo is a shining starElmo is a shining starElmo is a shining starElmo is a shining starElmo is a shining starElmo is a shining starElmo is a shining starElmo is a shining starElmo is a shining starElmo is a shining star
Default

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!
Elmo is offline   Reply With Quote
Old 2007-08-14, 01:20 AM   #3
dbaldacchino
Count (Formula)
 
dbaldacchino's Avatar
 
Join Date: 2005-07
Location: Missouri City, Texas (Houston area)
Posts: 2,991
dbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining star
Default RE: Transparent Local file creation

NP If you have suggestions or find a problem, please post. Thanks!
__________________
dbaldacchino is offline   Reply With Quote
Old 2007-08-14, 05:33 AM   #4
luigi
AUGI Addict
 
luigi's Avatar
 
Join Date: 2003-05
Location: Royal oak, Michigan
Posts: 1,479
luigi has landed on the moonluigi has landed on the moonluigi has landed on the moonluigi has landed on the moonluigi has landed on the moonluigi has landed on the moonluigi has landed on the moonluigi has landed on the moonluigi has landed on the moonluigi has landed on the moonluigi has landed on the moon
Default RE: Che schifio!!!!

Che schifio!!! oooh, non ti posso dare punteggi verdi...devo darli agl'altri prima di dartene a te!!!!!

Che cose da matti!!!!

Bravo!!!!
luigi is offline   Reply With Quote
Old 2007-08-14, 06:04 AM   #5
dbaldacchino
Count (Formula)
 
dbaldacchino's Avatar
 
Join Date: 2005-07
Location: Missouri City, Texas (Houston area)
Posts: 2,991
dbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining star
Default RE: Transparent Local file creation

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
__________________
dbaldacchino is offline   Reply With Quote
Old 2007-08-14, 04:50 PM   #6
ijnicholas
100 Club
 
ijnicholas's Avatar
 
Join Date: 2005-02
Location: St Louis, MO and Tirunelveli, India
Posts: 107
ijnicholas has a bright futureijnicholas has a bright futureijnicholas has a bright futureijnicholas has a bright futureijnicholas has a bright futureijnicholas has a bright future
Thumbs up RE: Transparent Local file creation

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
__________________
nicholas iyadurai
http://revitize.blogspot.com/
ijnicholas is offline   Reply With Quote
Old 2007-08-15, 04:15 PM   #7
dbaldacchino
Count (Formula)
 
dbaldacchino's Avatar
 
Join Date: 2005-07
Location: Missouri City, Texas (Houston area)
Posts: 2,991
dbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining star
Default RE: Transparent Local file creation

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.
Attached Files
File Type: zip Revit 2008 Local File AHK.zip (2.0 KB, 207 views)
__________________
dbaldacchino is offline   Reply With Quote
Old 2007-08-15, 04:56 PM   #8
david.kingham
NavisWorks Moderator
 
david.kingham's Avatar
 
Join Date: 2004-07
Location: Fort Collins, CO
Posts: 1,247
david.kingham is reaching for the moondavid.kingham is reaching for the moondavid.kingham is reaching for the moondavid.kingham is reaching for the moondavid.kingham is reaching for the moondavid.kingham is reaching for the moondavid.kingham is reaching for the moondavid.kingham is reaching for the moondavid.kingham is reaching for the moondavid.kingham is reaching for the moondavid.kingham is reaching for the moon
Default RE: Transparent Local file creation

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
Attached Files
File Type: zip script.zip (3.1 KB, 203 views)
__________________
David Kingham
The Neenan Company
BIM Manager Blog
david.kingham is offline   Reply With Quote
Old 2007-08-15, 05:12 PM   #9
dbaldacchino
Count (Formula)
 
dbaldacchino's Avatar
 
Join Date: 2005-07
Location: Missouri City, Texas (Houston area)
Posts: 2,991
dbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining stardbaldacchino is a shining star
Default RE: Transparent Local file creation

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 I guess I'd have to rethink it a bit when it comes to very large projects. They could just open all and then close what they don't need.

Thanks for sharing your scripts too!
__________________
dbaldacchino is offline   Reply With Quote
Old 2007-08-15, 07:23 PM   #10
echo
I could stop if I wanted to
 
Join Date: 2007-03
Location: Phoenix/Tempe
Posts: 242
echo is going the right wayecho is going the right wayecho is going the right wayecho is going the right wayecho is going the right way
Default RE: Transparent Local file creation

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
echo is offline   Reply With Quote
Reply


Go Back   AUGI Forums > AUGI Technical (English) > AEC > Revit > Revit in General > Revit - Worksharing/Worksets

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


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