See the top rated post in this thread. Click here

Page 22 of 22 FirstFirst ... 121819202122
Results 211 to 217 of 217

Thread: Transparent Local file creation

  1. #211
    Count (Formula) dbaldacchino's Avatar
    Join Date
    2005-07
    Location
    Missouri City, Texas (Houston area)
    Posts
    3,250
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    Make sure to visit this thread for the newest version. The journal snippets are similar to DK's with some minor variations in how the script works.

  2. #212
    Member
    Join Date
    2007-07
    Posts
    6
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    Okay - I see what you've done and found your post about addins not loading when launching Revit with a journal file. http://forums.augi.com/showpost.php?...5&postcount=48

    So with that I pose a question to you (if you don't mind):

    I've updated our code to reflect your method and it seems to be working - although now I always get the specify worksets interface (whether using the Specify option or the All option) and the "Copied Central File" warning. I assume I can add a loop or something that looks for the copied file dialog and closes it (the journal used to to this) and there might be some way to automate opening all the worksets if that option is used, but I'm curious how you have dealt with it? I don't see anything in the code, but I could be missing something.

    Thanks for your help figuring this out.

  3. #213
    Member
    Join Date
    2007-07
    Posts
    6
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    Thanks Dave - I've followed up on your other thread

    http://forums.augi.com/showpost.php?...3&postcount=12

    I also found the MsgBoxCheck subroutine you both use to close the "Copied Central File" dialog. It was so short I just missed it in my quick review of the code...

  4. #214
    Member
    Join Date
    2013-03
    Posts
    2
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    I am going to revive this thread a bit, beacause as David said in his post in 2013. Many people are still using this script.

    I have modified the software slightly for our office so that once the shortcut is created and used it creates a dialog box that asks whether a user wants to open local (trying to reduce the use of licenses across our office). The next step is trying to adjust an implement the opening of a detached copy of the file. Sadly, it doesn't seem to be working for Revit 2016. Has anyone figured out the code for opening a detached copy in Revit 2015, 16 or 17?

    Here's my version of the AHK file.


  5. #215
    Member
    Join Date
    2005-08
    Posts
    3
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    Hi David Kingham, I picked up your script and simplified it to our needs. I had to look for an alternative as the new antivirus we rolled out was stalling all VBS script execution in our environment. The batch script essentially achieves the goal in 15 lines of code and a single XCopy command with a pipe (allowing overwriting of local file). It also launches the Worksharing monitor (2015 in our case) when done.

    REM ------------------- Script Functions -------------------
    for %%1 in (%0) do (set PRJ=%%~n1)
    for %%1 in (%0) do (set CEN=%%~dp1)
    echo.
    echo Checking for existing local files for %PRJ%
    echo.

    if exist "C:\Revit\%PRJ%\" (
    goto CopyCentral
    ) else (
    echo.
    echo Creating LOCAL folder for %PRJ%
    echo.
    mkdir "C:\Revit\%PRJ%\
    )

    :CopyCentral

    echo.
    echo Copying %PRJ% CENTRAL files to LOCAL folder
    echo.

    echo F|xcopy "%CEN%*.rvt" "C:\Revit\%PRJ%\%PRJ%-%username%-%date:~4,2%%date:~7,2%%date:~10,4%.rvt" /y

    echo Done!
    echo Local File created in C:\Revit\%PRJ%
    echo Added suffix "%username%" as username and today's date.
    echo Launching Worksharing Monitor for Revit 2015...
    start "" "C:\Program Files\Autodesk\Worksharing Monitor for Revit 2015\WorksharingMonitor.exe"

    pause
    exit

  6. #216
    Member
    Join Date
    2013-03
    Posts
    2
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    Love the batch file idea: Here's updated Revit Make Local for newer versions of Revit on GitHub: per David's blessing.

    Figured out the detached open for Revit 15, 16, 17 using a journal file procedure.

    [QUOTE=structure360;1316495]I am going to revive this thread a bit, beacause as David said in his post in 2013. Many people are still using this script.

    I have modified the software slightly for our office so that once the shortcut is created and used it creates a dialog box that asks whether a user wants to open local (trying to reduce the use of licenses across our office). The next step is trying to adjust an implement the opening of a detached copy of the file. Sadly, it doesn't seem to be working for Revit 2016. Has anyone figured out the code for opening a detached copy in Revit 2015, 16 or 17?

    Here's my version of the AHK file.

  7. #217
    Count (Formula) dbaldacchino's Avatar
    Join Date
    2005-07
    Location
    Missouri City, Texas (Houston area)
    Posts
    3,250
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    Thanks for carrying the torch Timon!

Page 22 of 22 FirstFirst ... 121819202122

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
  •