See the top rated post in this thread. Click here

Page 1 of 22 1234511 ... LastLast
Results 1 to 10 of 217

Thread: Transparent Local file creation

  1. #1
    Count (Formula) dbaldacchino's Avatar
    Join Date
    2005-07
    Location
    Missouri City, Texas (Houston area)
    Posts
    3,250


    2 members found this post helpful.

    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 Attached Files
    Last edited by dbaldacchino; 2010-01-21 at 06:28 AM. Reason: Version 3 updates & new zip uploaded

  2. #2
    All AUGI, all the time Elmo's Avatar
    Join Date
    2005-04
    Location
    South Africa
    Posts
    959


    Default Re: Transparent Local file creation

    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.

  3. #3
    Count (Formula) dbaldacchino's Avatar
    Join Date
    2005-07
    Location
    Missouri City, Texas (Houston area)
    Posts
    3,250


    Default Re: Transparent Local file creation

    NP If you have suggestions or find a problem, please post. Thanks!

  4. #4
    The Silent Type luigi's Avatar
    Join Date
    2015-11
    Location
    Royal oak, Michigan
    Posts
    1,510


    Default Re: Transparent Local file creation

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

    Che cose da matti!!!!

    Bravo!!!!

  5. #5
    Count (Formula) dbaldacchino's Avatar
    Join Date
    2005-07
    Location
    Missouri City, Texas (Houston area)
    Posts
    3,250


    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

  6. #6
    100 Club ijnicholas's Avatar
    Join Date
    2005-02
    Location
    St Louis, MO and Tirunelveli, India
    Posts
    130


    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

  7. #7
    Count (Formula) dbaldacchino's Avatar
    Join Date
    2005-07
    Location
    Missouri City, Texas (Houston area)
    Posts
    3,250


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

  8. #8
    NavisWorks Moderator david.kingham's Avatar
    Join Date
    2004-07
    Location
    Fort Collins, CO
    Posts
    1,329


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

  9. #9
    Count (Formula) dbaldacchino's Avatar
    Join Date
    2005-07
    Location
    Missouri City, Texas (Houston area)
    Posts
    3,250


    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!

  10. #10
    I could stop if I wanted to
    Join Date
    2007-03
    Location
    Phoenix
    Posts
    261


    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

Page 1 of 22 1234511 ... LastLast

Similar Threads

  1. Transparent Local File Creation - GUI (v5) *UPDATED*
    By dbaldacchino in forum Revit - Worksharing/Worksets/Revit Server
    Replies: 38
    Last Post: 2017-01-09, 02:50 AM
  2. Detached Revit Local File - (Anyway to reattach or copy worksets over to central file)
    By Reviting in forum Revit - Worksharing/Worksets/Revit Server
    Replies: 2
    Last Post: 2014-05-23, 05:17 PM
  3. Creation of local file and synchronization error
    By wongkuanwei570223 in forum BIM Management - General
    Replies: 3
    Last Post: 2014-03-10, 09:44 PM
  4. 2014: Revit reporting Central File is not available, no one else is in file, can't save, won't create local file
    By patricks in forum Revit - Worksharing/Worksets/Revit Server
    Replies: 3
    Last Post: 2013-10-03, 10:31 PM
  5. Local Files: program to delete local file and create a new local file
    By mailshanegross in forum Revit - Worksharing/Worksets/Revit Server
    Replies: 4
    Last Post: 2009-06-03, 02:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •