See the top rated post in this thread. Click here

Page 5 of 22 FirstFirst 12345678915 ... LastLast
Results 41 to 50 of 217

Thread: Transparent Local file creation

  1. #41
    NavisWorks Moderator david.kingham's Avatar
    Join Date
    2004-07
    Location
    Fort Collins, CO
    Posts
    1,329
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    Just find :ArchiveLocal and replace everything between that and :CopyCentral
    I would recommend getting a text editor that will really help you see what is going on, I would recommend Notepad++ http://notepad-plus.sourceforge.net/

  2. #42
    Member
    Join Date
    2007-05
    Posts
    9
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    thanks. i figured it out. So what does the RAC 2008.bat do exactly?

  3. #43
    NavisWorks Moderator david.kingham's Avatar
    Join Date
    2004-07
    Location
    Fort Collins, CO
    Posts
    1,329
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    It looked something like this
    Code:
    @echo off
    regedit.exe /s "\\nevada\drawings\Revit\Files\Batch Files\2008\RAC2008.reg"
    set KBS="\\nevada\drawings\Revit\Files\2008\RAC2008\Keyboardshortcuts.txt"
    set INI="\\nevada\drawings\Revit\Files\2008\RAC2008\revit.ini"
    set RVT="c:\program files\Revit Architecture 2008\Program"
    set TUT="\\nevada\drawings\Revit\Files\Defaults\Architecture\2008\TutorialsBuildingImpENU.chm"
    set EXT="\\nevada\drawings\Revit\Files\Extensions"
    set EXTLOC="c:\program files\Revit Architecture 2008\Program\Extensions"
    
    xcopy /c /v /q /y /i /r /h %TUT% %RVT%
    xcopy /c /v /q /y /i /r /h %KBS% %RVT% 
    xcopy /c /v /q /y /i /r /h %INI% %RVT%
    
    mkdir %EXTLOC%
    xcopy /c /v /q /y /i /r /h /s %EXT% %EXTLOC%
    
    del "C:\Program Files\Revit Architecture 2008\Program\Content.rcl"
    
    set path="c:\program files\Revit Architecture 2008\program"
    start /high /max Revit.exe

  4. #44
    Member
    Join Date
    2007-05
    Posts
    9
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    Quote Originally Posted by david.kingham View Post
    It looked something like this
    Code:
    @echo off
    regedit.exe /s "\\nevada\drawings\Revit\Files\Batch Files\2008\RAC2008.reg"
    set KBS="\\nevada\drawings\Revit\Files\2008\RAC2008\Keyboardshortcuts.txt"
    set INI="\\nevada\drawings\Revit\Files\2008\RAC2008\revit.ini"
    set RVT="c:\program files\Revit Architecture 2008\Program"
    set TUT="\\nevada\drawings\Revit\Files\Defaults\Architecture\2008\TutorialsBuildingImpENU.chm"
    set EXT="\\nevada\drawings\Revit\Files\Extensions"
    set EXTLOC="c:\program files\Revit Architecture 2008\Program\Extensions"
    
    xcopy /c /v /q /y /i /r /h %TUT% %RVT%
    xcopy /c /v /q /y /i /r /h %KBS% %RVT% 
    xcopy /c /v /q /y /i /r /h %INI% %RVT%
    
    mkdir %EXTLOC%
    xcopy /c /v /q /y /i /r /h /s %EXT% %EXTLOC%
    
    del "C:\Program Files\Revit Architecture 2008\Program\Content.rcl"
    
    set path="c:\program files\Revit Architecture 2008\program"
    start /high /max Revit.exe
    .

    so what does this part of code do for me? edited it as well so it didnt open revit automatically as i am a it person who would run form pc to pc and do not need to open revit everytime. thanks

  5. #45
    NavisWorks Moderator david.kingham's Avatar
    Join Date
    2004-07
    Location
    Fort Collins, CO
    Posts
    1,329
    Login to Give a bone
    1

    Default Re: Transparent Local file creation

    Fixes some registry keys for the no start problem, if you don't have a problem with revit not starting then don't worry about it.
    Copies revit.ini and keyboardshortcuts so every computer is the same
    Copies the tutorials because my network deployments seem to miss it for some reason
    Copies some files for extensions
    And deletes the content.rcl which tells revit to download the rest of the content, usually not a problem but has been once or twice
    Most people wouldn't go to this length, but what can I say, I'm an anal *******

  6. #46
    Member
    Join Date
    2007-05
    Posts
    9
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    Quote Originally Posted by david.kingham View Post
    Copies revit.ini and keyboardshortcuts so every computer is the same
    :
    where is it grabbing it from though? like all my staff has their own keyboard shortcuts. can i delete this line in order to preserve their unique shortcut files? sorry for all the questions. just new to this idea for revit. =)

  7. #47
    NavisWorks Moderator david.kingham's Avatar
    Join Date
    2004-07
    Location
    Fort Collins, CO
    Posts
    1,329
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    Just delete this from the original script
    Code:
    :SetupStart
    
        call "Q:\Revit\Files\Batch Files\2008\RAC2008.bat"
        cls    
        @echo off
        echo Done!
        echo Local File created in C:\Revit Local Files\%PRJ%
        type "Q:\Revit\Files\Batch Files\echo.txt"
    pause

  8. #48
    Member
    Join Date
    2007-05
    Posts
    9
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    aha. i did just notice though you are specifying the path for the keyboard shortcut file. so i could do the same really. i could say:

    (in the RAC2008.bat file)
    set KBS="\\Program Files\Revit Architecture 2008\Program\Keyboardshortcuts.txt"

    right? that way it pulls the correct txt file from their own cpu that they have edited already.

  9. #49
    NavisWorks Moderator david.kingham's Avatar
    Join Date
    2004-07
    Location
    Fort Collins, CO
    Posts
    1,329
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    If you don't want to change their keyboardshortcuts then just don't replace it with anything...I believe you're overthinking this...

  10. #50
    I could stop if I wanted to
    Join Date
    2007-08
    Posts
    322
    Login to Give a bone
    0

    Default Re: Transparent Local file creation

    Has anybody updated their code to auto open the workshare monitor? Its just another safety net that we would like to standardize.

    Thanks,

    Nick

Page 5 of 22 FirstFirst 12345678915 ... 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
  •