Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum Managed Workspace Configuration - Downloads all files in folder
    • Sign In

    • State Suggested Answer
    • +6 person also asked this people also asked this
    • Replies 7 replies
    • Answers 1 answer
    • Subscribers 66 subscribers
    • Views 666 views
    • Users 0 members are here
    • Interplot
    • rendition
    • OpenRoads
    • ProjectWise
    • Managed Workspace
    • Managed Workspace Configuration
    • Configuration

    Managed Workspace Configuration - Downloads all files in folder

    Nicklas PERSSON
    Offline Nicklas PERSSON 8 months ago

    Question:

    When opening a .dgn-file from a folder who carries a managed workspace, it seems to download all the files in that folder, incl. versions.

    Do you know if this is a technical necessary or is it possible to make this feature inactive? (See attached picture below)

    Theory:

    We have experienced very long rendition times since we started using managed workspace, might  the above be causing the rendition server to run slow?

    • Eg. A drawing folder can contain over 1000 drawings, with at least 1-3 versions ---> 2000-4000 files have to be downloaded.

    • Sign in to reply
    • Cancel
    Parents
    • Kevin van Haaren
      0 Offline Kevin van Haaren Tue, Jan 10 2023 6:57 AM

      This means you have a variable defined pointing at that directory, most likely it's set to $(_dgndir). You have to add that to the list of variables to not copy out in administrator. See: https://docs.bentley.com/LiveContent/web/ProjectWise%20Administrator%20Help-v11/en/GUID-01B1CA67-A0E6-9349-744F-BC4E0F5AFBD4.html

      one note on this: it's strictly based on the variable name, not the final value of the directory pointed at. If you do:

      VAR1 = $(_dgndir)
      VAR2 = $(VAR1)

      you need to list BOTH VAR1 and VAR2 in the list or the whole directory will still be copied out.

      im not at my work computer, I'll try and post a list of the built-in variables we have listed, but you'll need to add your own variables too.

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Kevin van Haaren
      0 Offline Kevin van Haaren Tue, Jan 10 2023 11:41 AM in reply to Kevin van Haaren

      This is our current list of variables to not copy out. They are a combination of variables from V8i microstation, Connect microstation, ORD and OBM. I once got mad about this very issue and went through all the config files that ship with the products and added anything that was an output folder or was defaulting to _DGNDIR so it should be a pretty complete set, but you'll need to add any variables your company may set that you don't want to be treated as part of the workspace and copied out.

      _DGNDIR
      _USTN_OUT
      _USTN_PROJECT
      _USTN_PROJECTDATA
      _USTN_WORKSETDGNS
      _USTN_WORKSETSROOT
      BRIDGE_ORGANIZATION_ROOT
      BRIDGE_ORGANIZATION_STANDARDS
      CIVIL_ROADWAY_TEMPLATE_LIBRARY_SAVEAS
      CLASHDETECTION_DEFAULT_OUTPUT_PATH
      DWGRDL_DIR
      MS_BACKUP
      MS_CELLOUT
      MS_DEF
      MS_IGESOUTSET
      MS_IMAGE
      MS_IMAGEMNGR
      MS_IMAGEMNGR_RFDIR
      MS_IMAGEOUT
      MS_IMGMAGW
      MS_IMGOUT
      MS_MARKUPPATH
      MS_OUT
      MS_PLTFILES
      MS_PRINTDEF_PATH
      MS_RASTER_DEF_DIR
      MS_REF_DEFAULTATTACHDIRECTORY
      MS_RFDIR
      MS_ROSEDB
      MS_SCR
      MS_SETTINGSOUTDIR
      MS_STANDARDSCHECKER_OUT
      MS_TMP
      MS_VBANEWPROJECTDIRECTORY
      PS_DETAILPATH
      PS_EXPORTPATH
      RDL_DIR

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Nicklas PERSSON
      0 Offline Nicklas PERSSON Wed, Jan 11 2023 4:37 AM in reply to Kevin van Haaren
      Kevin van Haaren said:
      so it should be a

      Hi Kevin! 

      First, thank you very much for helping us! 

      I opened our .dgn file in debugger mode and found out that following variables included the active dgn folderpath: 

      Variables that we hadn't excluded when copy-out:

      • _DGNDIR
      • _USTN_OUT
      • MS_BACKUP
      • MS_REPORT_OUTPUT

      Variables that we already excluded: 

      • MS_REF_DEFAULTATTACHDIRECTORY
      • MS_RFDIR

      Not sure if this variable is necessary to add or even should be added, but at the time of writing we are excluding it:

      • _DGNFILE

      In short, at the moment it works like a charm! But we will keep an extra eye on some of the exclusions whether we should keep them as excluded or not.

      Further thoughts, does the settings in ProjectWise Administrator (specificly the exclusions) affect Interplot / Create Rendition? For a time no we have had really long rendition times, specifically in those scenarios when we are plotting from folder using managed workspace. 

      Kind regards

      Nicklas

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    Reply
    • Nicklas PERSSON
      0 Offline Nicklas PERSSON Wed, Jan 11 2023 4:37 AM in reply to Kevin van Haaren
      Kevin van Haaren said:
      so it should be a

      Hi Kevin! 

      First, thank you very much for helping us! 

      I opened our .dgn file in debugger mode and found out that following variables included the active dgn folderpath: 

      Variables that we hadn't excluded when copy-out:

      • _DGNDIR
      • _USTN_OUT
      • MS_BACKUP
      • MS_REPORT_OUTPUT

      Variables that we already excluded: 

      • MS_REF_DEFAULTATTACHDIRECTORY
      • MS_RFDIR

      Not sure if this variable is necessary to add or even should be added, but at the time of writing we are excluding it:

      • _DGNFILE

      In short, at the moment it works like a charm! But we will keep an extra eye on some of the exclusions whether we should keep them as excluded or not.

      Further thoughts, does the settings in ProjectWise Administrator (specificly the exclusions) affect Interplot / Create Rendition? For a time no we have had really long rendition times, specifically in those scenarios when we are plotting from folder using managed workspace. 

      Kind regards

      Nicklas

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Reject Answer
      • Cancel
    Children
    • Kevin van Haaren
      0 Offline Kevin van Haaren Wed, Jan 11 2023 6:05 PM in reply to Nicklas PERSSON

      _DGNFILE is ok to leave out or put in. It points to the current file, which has to be copied out anyway, so it doesn't cause extra downloads if it isn't listed.

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Nicklas PERSSON
      0 Offline Nicklas PERSSON Wed, Apr 26 2023 8:22 AM in reply to Kevin van Haaren

      Hi Kevin! 

      We seemed to solve this issue as explained earlier in this thread. 

      Now it seems like the issue has come back for us. Even though we haven't made any changes in our exclude list in PW admin. 

      One change we have made is, we have upgraded to OpenX (Road/Rail) 2022 R3. Have you hade any similiar problems before? Meaning that, all of a sudden it starts copying all folder files when opening? 

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Kevin van Haaren
      0 Offline Kevin van Haaren Thu, Apr 27 2023 10:37 AM in reply to Nicklas PERSSON

      We aren't using ORD 10.12 yet, but I took a quick look through the configs and nothing is jumping out at me.

      One thing that can help find the variable is to create a folder with a unique name and copy a dgn file into that folder and open it. In ORD open the Configuration Variables dialog (File > Settings > Configuration > Configuration Variables). In the Value field of the variable list type the folder name and see what variables turn up.

       

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Nicklas PERSSON
      0 Offline Nicklas PERSSON Wed, May 10 2023 8:27 AM in reply to Kevin van Haaren

      That was my idea too. 
      I've made some further comparisons between the two versions of OpenRoads now, and the only difference is this, highlighted in yellow:

      Our exclusion list, with variables not excluded in yellow: 

      The weird thing is that the exclusion list did work for OpenRoads 10.11 but not for OpenRoads 10.12. Having a hard time finding the logic... 

      • 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