Results 1 to 8 of 8

Thread: Copy consultants' Revit files - anyone good with scripts?

  1. #1
    Certified AUGI Addict patricks's Avatar
    Join Date
    2004-06
    Location
    Memphis TN area
    Posts
    7,048
    Login to Give a bone
    0

    Default Copy consultants' Revit files - anyone good with scripts?

    We have started requiring our consultants to upload their Revit models to our FTP at the end of every day.

    I thought about linking directly to the files on the FTP, but it's a separate machine from our server, and probably slower, plus it's on the other side of the office from where the server and network switches are located.

    Instead I'd rather copy the consultants' files each morning to the project directory on our server. So I thought maybe a batch file could automate this, and possibly even set it to automatically run around 6 a.m. each morning.

    Does anyone know what the syntax for such a script batch file might be? I would set it up with the names of the consultant's Revit file names early in the project and let it run throughout the duration of project design. That way every day when we open the central file to create new locals, the latest consultant's models will always be in there.

  2. #2
    All AUGI, all the time DoTheBIM's Avatar
    Join Date
    2005-02
    Location
    Central PA, USA
    Posts
    756
    Login to Give a bone
    0

    Default Re: Copy consultants' Revit files - anyone good with scripts?

    I'm guessing with 5K+ posts you are aware of dos batch files and the copy command (copy <locationA\file1> <locationB\file1> /y /v), and for some reason that will not work for what you want so I'm not sure what your particular scenario requires.

  3. #3
    Certified AUGI Addict patricks's Avatar
    Join Date
    2004-06
    Location
    Memphis TN area
    Posts
    7,048
    Login to Give a bone
    0

    Default Re: Copy consultants' Revit files - anyone good with scripts?

    Quote Originally Posted by DoTheBIM View Post
    I'm guessing with 5K+ posts you are aware of dos batch files and the copy command (copy <locationA\file1> <locationB\file1> /y /v), and for some reason that will not work for what you want so I'm not sure what your particular scenario requires.
    I have little experience with program languages, but I did get it to work with a dos batch file using Xcopy.

    I'm also just using the /y option. Actually I'm not sure what the difference is between Copy and Xcopy.

  4. #4
    All AUGI, all the time DoTheBIM's Avatar
    Join Date
    2005-02
    Location
    Central PA, USA
    Posts
    756
    Login to Give a bone
    0

    Default Re: Copy consultants' Revit files - anyone good with scripts?

    Quote Originally Posted by patricks View Post
    ...Actually I'm not sure what the difference is between Copy and Xcopy.
    xcopy is copy on steroids

    Just use the /? switch after each command to see all the options.

  5. #5
    Certified AUGI Addict patricks's Avatar
    Join Date
    2004-06
    Location
    Memphis TN area
    Posts
    7,048
    Login to Give a bone
    0

    Default Re: Copy consultants' Revit files - anyone good with scripts?

    Yeah I have a couple of other scripts using Robocopy that someone on here helped me with years ago. This runs nightly to make a backup of our project files in another location, in addition to our normal backup software that runs nightly. We actually used Robocopy before getting the backup software, but I just let it keep running since it creates more redundancy.

  6. #6
    Certifiable AUGI Addict dhurtubise's Avatar
    Join Date
    2005-07
    Location
    Somewhere in the BIM world
    Posts
    3,792
    Login to Give a bone
    0

    Default Re: Copy consultants' Revit files - anyone good with scripts?

    Only problem with a .bat file is that you wouldnt be resaving the Central locally(on your own server). The API can do that easily.
    On a side note, exchanging files every day seems a lot in my honest opinion.

  7. #7
    Certified AUGI Addict patricks's Avatar
    Join Date
    2004-06
    Location
    Memphis TN area
    Posts
    7,048
    Login to Give a bone
    0

    Default Re: Copy consultants' Revit files - anyone good with scripts?

    Quote Originally Posted by dhurtubise View Post
    Only problem with a .bat file is that you wouldnt be resaving the Central locally(on your own server). The API can do that easily.
    On a side note, exchanging files every day seems a lot in my honest opinion.
    This is for our "hot-n-heavy" projects, in which many things are changing daily. Sometimes we request an update in the middle of the day if something major is changing. This will not be done for all projects at all times. Mainly just our current "A-list" projects in heavy DD/CD's.

    These are the boss's orders.

  8. #8
    Certifiable AUGI Addict
    Join Date
    2004-05
    Location
    St. Louis, Missouri
    Posts
    3,135
    Login to Give a bone
    0

    Wink Re: Copy consultants' Revit files - anyone good with scripts?

    You might also take a look at Globalscape WAFS.

    Set it up at each office. Mirrors the files. It's a software solution,
    similar in concept to Riverbed hardware WAN accelerators.

    just a thought......

Similar Threads

  1. Sharing Revit Files with Consultants
    By richardarchitect in forum Revit Architecture - General
    Replies: 4
    Last Post: 2011-02-18, 04:30 AM
  2. Sending rvt files to consultants
    By tra1133 in forum Revit Architecture - General
    Replies: 4
    Last Post: 2009-12-29, 10:14 PM
  3. Favorite site for sharing Revit files with Consultants?
    By Andre Baros in forum Revit - In Practice
    Replies: 3
    Last Post: 2007-06-18, 10:49 PM
  4. Favorite site for sharing Revit files with Consultants?
    By Andre Baros in forum Revit Architecture - General
    Replies: 3
    Last Post: 2007-06-18, 10:49 PM
  5. Best way for consultants to view Revit files?
    By patricks in forum Revit Architecture - General
    Replies: 10
    Last Post: 2005-08-06, 06:07 PM

Posting Permissions

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