Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise PowerShell Extensions Forum Scan References and links set for AutoCAD files
    • Sign In

    • State Verified Answer
    • Replies 4 replies
    • Answers 1 answer
    • Subscribers 65 subscribers
    • Views 1797 views
    • Users 0 members are here

    Scan References and links set for AutoCAD files

    Tony Cacciola
    Offline Tony Cacciola over 4 years ago

    I would like to automate the scanning of  xrefs so it scans each directory within the same directory. Once one directory is complete,the script moves on to the other directory and so on until all chosen directories have being scanned and re-linked. The cad files with the xrefs are in the same directory as the xrefs. So I want only to scan within the same directory and re-link the xrefs. Once it completes one directory, it moves on to another directory and re-scans those files in the same directory, and so on. At the moment I'm doing this manually and I have a lot of directories to scan.

    • Sign in to reply
    • Cancel
    • Mick Inkster
      0 Offline Mick Inkster Wed, Sep 4 2019 9:33 AM

      Hi Tony,

      If I read the question correctly, when you "Scan for Reference Files and Link Sets" you will want to make sure "Enable Priority Search" is not ticked, then in the next window you can tick "Enable Proximity Search" which will allow you to search the "Master File's Folder".

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    • Tony Cacciola
      0 Offline Tony Cacciola Wed, Sep 4 2019 9:46 AM

      I Mick, thank you for your reply.

      You got part of the answer, what I really need is an automated script to scan the drawings in the master file folder, then once the scan is complete, it moves on to the next folder to scan. At the moment we are doing all this manually (using the scan refs tool in PW) We scan one folder, once completed, we repeated the operation in the next folder, an so on. The script should allow to choose the foilldrs we want to scan. They tell me to use powershell to write a script, I don't have the knowledge to program in powershell. Thank again for your feedback.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Mick Inkster
      0 Offline Mick Inkster Thu, Sep 5 2019 10:18 AM in reply to Tony Cacciola

      In the "Scan for Reference Files and Link Sets" one of the first windows in the dialog is "Select Master Files and Folders" where you can specify multiple folders to search and in the next window of the dialog named "Master Folder Settings" you can specify whether to search subfolders as well as what application types you want to scan.

      I think that this would provide what you are looking for if you added all the folders you are trying to scan in the first window, then in the next window you made sure all the folders were not checked, then at the bottom of that windows you checked on the Application Types (AutoCAD, etc.) that you wanted to search and then used proximity to search for them. 

      Answer Verified By: Tony Cacciola 

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Reject Answer
      • Cancel
    • Tony Cacciola
      0 Offline Tony Cacciola Thu, Sep 5 2019 11:35 AM in reply to Mick Inkster

      Mick, You hit it right on. It's works beautifully. The trick is the proximity to search option.

      Thank you very much for your help.

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies