ABD Ss5 Configuring Workspace to Network

I am in need of some help configuring a workspace to the network.

I am trying to keep it very simple for now until I have gotten a better understanding of how configs work. What I would like to achieve is having all my company standards on drive K: the project files on H: drive and the user on the Z: drive. Currently I am the only person working on the project so the user aspect isn't that important as I have struggled to understand where and when to configure what.

I have been trying to follow the blogs that Marc Thomas has put online no matter which approach I take I seem to stumble at the last hurdle. I have created a file in _USTN_SITE called ZZ_FLINDERSConfig.cfg. My last attempt looks liks this


_COMPANY_WORKSPACE = K:/CAD/AECOM_PER/02_Application/Dev_Bentley_SB/Bentley/AECOsimBuildingDesigner V8i Ss5/WorkSpace/
#----------------------------------------------------------------------
# If on network use network workspace and windows username
#----------------------------------------------------------------------
%if exists ($(_COMPANY_WORKSPACE)Standards/)
_USTN_SITE = $(_COMPANY_WORKSPACE)Standards/
_USTN_PROJECTNAME = FLINDERS_PROJECT
_USTN_PROJECT = $(_COMPANY_WORKSPACE)Projects/$(_USTN_PROJECTNAME)
_USTN_PROJECTDATA = H:/OPP-387135 - Tender Services RCR Flinders Mine/6. Draft Proposal/5. CAD/99-SUPPORT/APP_CONFIGURATION/Bentley/FLINDERS_PROJECT/

In my _COMPANY_WORKSPACE/Projects folder I have FLINDERS_PROJECT.pcf and a folder named FLINDERS_PROJECT which contains the standard install folder structure. I have these lines in the FLINDERS_PROJECT.pcf

#====================================================================== # Project Configuration File #======================================================================

FLINDERS_PROJECT = H:/OPP-387135 - Tender Services RCR Flinders Mine/6. Draft Proposal/5. CAD/99-SUPPORT/APP_CONFIGURATION/Bentley/Project_USTN_PROJECTDESCR  = RCR TENDER SERVICES
_USTN_PROJECTNAME  = FLINDERS_US 
_USTN_PROJECTDATA = $(FLINDERS_PROJECT)/Project/

I have tried to configure the USER to the Z: drive but haven't had much luck. I'm not sure in which file I set the configuration in.

Any suggestion would be helpful

 

 

 

  • Simon, I would recommend installing Configuration Explorer from our I-ware site as it offers many ways to troubleshoot custom configurations.



  • Here's a suggestion. I'm going to try and start off simple (I hope). Once you have this running we can investigate implementing Marc's more detailed variables. And, yes, take advantage of Configuration Explorer, available here: Bentley Configuration Explorer and here is some On Demand lectures: Leveraging Bentley Configuration Explorer.

    I notice you are using SELECTseries 5, my example uses the same. Keep in mind in SELECTseries 6 we have new features to help setup and manage Company level standards.

    _______________________________________________________________________________________

    To emulate your workspace/project/user locations, I have mine setup to these folders:

    Workspace D:/ABDWorkSpace/

    Projects E:/Projects/

    Users H:/Users/

    _______________________________________________________________________________________________

    Yours would be this:

    Workspace K:/CAD/AECOM_PER/02_Application/Dev_Bentley_SB/Bentley/AECOsimBuildingDesigner V8i Ss5/WorkSpace/

    Projects H:/Projects/ (not sure exactly where these are located, adjust as needed)

    Users Z:/Users/ (not sure exactly where these are located, adjust as needed)

    _______________________________________________________________________________________________

    The startup config is this:

    #------------------------------------------------------------------------------------
    # Startup.cfg - The Custom AECOsim shortcut points to this startup
    # The Shortcut Target looks like this
    # "C:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i Ss5\AECOsimBuildingDesigner\AECOsimBuildingDesigner.exe" -wc"D:\ABDWorkSpace\Config\Startup.cfg" -wsBB_DISCCIPLINE=Building Designer
    #------------------------------------------------------------------------------------

    #------------------------------------------------------------------------------------
    # Config Variables that drive the firm's location for workspace files,etc.
    #------------------------------------------------------------------------------------

    _COMPANY_WORKSPACE = D:/ABDWorkSpace/
    _COMPANY_PROJECTS = E:/Projects/
    _COMPANY_USERS = H:/Users/

    #----------------------------------------------------------------------
    #Site Workspace Info
    #----------------------------------------------------------------------

    _USTN_SITE = $(_COMPANY_WORKSPACE)Standards/

    #----------------------------------------------------------------------
    #Project Workspace Info
    #----------------------------------------------------------------------

    _USTN_PROJECT = $(_COMPANY_PROJECTS)Config/
    _USTN_PROJECTSROOT = $(_COMPANY_PROJECTS)
    _USTN_PROJECTDATA = $(_USTN_PROJECTSROOT)$(_USTN_PROJECTNAME)/

    #----------------------------------------------------------------------
    #User Info
    #----------------------------------------------------------------------

    _USTN_USERNAME = $(USERNAME)
    _USTN_USER = $(_COMPANY_USERS)$(USERNAME)/
    MS_FKEYMNU = $(_COMPANY_USERS)$(USERNAME).mnu

    #----------------------------------------------------------------------
    #Include mslocal.cfg
    #----------------------------------------------------------------------

    MSDIR:${_ROOTDIR}
    %include $(MSDIR)/config/mslocal.cfg

    _______________________________________________________________________________________________

    For your workspace, this sets your workspace location to the standards folder using _USTN_SITE .

    _______________________________________________________________________________________________

    For the location of the project configuration files I am using E:/Projects/Config/ (note the line _USTN_PROJECT = $(_COMPANY_PROJECTS)Config/). Your .pcf files go here, so I have E:/Projects/Config/FLINDER_US.pcf .  The project itself is located here E:/Projects/FLINDER_US/ with the subsequent project folders. It is important to have the support folder here (you can copy this support structure into the project folder from C:\ProgramData\Bentley\AECOsimBuildingDesigner V8i Ss5\WorkSpace\Projects\BuildingExamples\BuildingTemplate_US\support\).

    So long as the project folder name and the .pcf file name are the same this should work. So, I have  E:/Projects/Config/FLINDER_US.pcf project configuration file and E:/Projects/FLINDER_US/ project folder.

    My .pcf is just a copy of C:\ProgramData\Bentley\AECOsimBuildingDesigner V8i Ss5\WorkSpace\Projects\BuildingExamples\BuildingTemplate_US.pcf with this small edit at the beginning and leaving all the rest of it alone for now:

    #----------------------------------------------------------------------
    #
    #FLINDER_US.pcf - Project Configuration File
    #
    # $Copyright: (c) 2015 Bentley Systems, Incorporated. All rights reserved. $
    #
    #----------------------------------------------------------------------

    #======================================================================
    # Project Configuration File
    #======================================================================
    # Project Description as it will appear in Workspace menu > About Workspace
    _USTN_PROJECTDESCR = FLINDERS_US 2015

    __________________________________________________________________________________________________

    For the location of the user configuration I am using H:/Users/. In my startup.cfg file I am setting the MicroStation user name to be the Windows log-in name with _USTN_USERNAME = $(USERNAME). So the user information cascades from there.

    In order for the user section to work you need a folder with your Windows log-in name under the users folder. Mine is  H:/Users/paul.wagner/ and a user configuration file named the same, like this  H:/Users/paul.wagner/paul.wagner.ucf. And I am configuring my user to have a custom function key menu that will load each time H:/Users/paul.wagner/paul.wagner.mnu. Note - I am not setting MS_USERPREF location so that AECOsim writes the upf to the local hard drive, AECOsim writes many different preferences and I would leave it to write to the default location. Which looks like this: C:\Users\paul.wagner\AppData\Local\Bentley\AECOsimBuildingDesigner\8.11\fbTdNrfM_E-UCF4EGEaZbQ\prefs\

    I have a couple of other things set at the user level like  _USTN_DISPLAYALLCFGVARS = 1 and Design History settings.

    User Config:

    #----------------------------------------------------------------------
    #
    # paul.wagnerucf - by Paul
    #
    # $Copyright: (c) 2013 Bentley Systems, Incorporated. All rights reserved. $
    #
    #----------------------------------------------------------------------
    _USTN_USERDESCR = Paul Wagner

    _USTN_USERINTNAME = default
    _USTN_PROJECTNAME = OTHER_PROJECT

    #Displays all configuration variables
    _USTN_DISPLAYALLCFGVARS = 1

    # Design history enablers
    MS_DESIGN_HISTORY = delete=1
    MS_DESIGN_HISTORY > retire=1

    TF_NOCOMPATIBILITYWARNING = 1

    _____________________________________________________________________________________________

    AECOsim and MicroStation will write this line to this file when you change projects:  _USTN_PROJECTNAME = FLINDER_US so the next time you start it will default to  the last project you were in.

    Note that I do not have the %ifexists statements like Marc shows - we can add those later. If the drives are not available this workspace would not run.



  • Simon,

    I reviewed Marc's workflow. One key thing to note. With Marc's batch files, we are placing the file ZZ_Company_Startup.cfg right into the /Workspace/standards/ folder. So, the default AECOsim shortcuts will find the networked workspace and projects. The ZZ_Company_Startup.cfg is the file that needs to be placed on each users machine.

    In my scenario, you need to create your own shortcut and adjust the target in the shortcut properties. This shortcut would need to be placed on each users desktop.

    So a little different approach, as you can see there are different approaches to managing a workspace.

    For my example, I took the AECOsim BD SELECTseries 5 shortcut, copied it, named the shortcut "My ABD Ss5 - D.E.F. Drives" (just my name so I can keep track of what  the shortcut is doing!) and edited the Target line to this:

    "C:\Program Files (x86)\Bentley\AECOsimBuildingDesigner V8i Ss5\AECOsimBuildingDesigner\AECOsimBuildingDesigner.exe" -wc"D:\ABDWorkSpace\Config\Startup.cfg" -wsBB_DISCIPLINE=BuildingDesigner

    I added the folder Config under my Workspace for the location of my Startup.cfg file.



  • Hi Paul, Thanks so much for you help it is much appreciated.
    While I did manage to get Marc's workflow to work eventually I would like to try your advice.
    I am a little stuck at the moment I can't get the Project to load up on startup can you please review my file to see where I have gone wrong. Unfortunately I am locked into the project folder structure so I am trying to improvise on the go, which is where I am coming unstuck.
    Also with ABD Ss6, when will the Dataset_ANZ be available or can I just copy across the Dataset_ANZ from Ss5.

    The startup file looks like this and is located here K:\CAD\AECOM_PER\02_Application\Dev_Bentley_SB\Bentley\ABD V8i Ss5\WorkSpace\Projects\FLINDERS_STARTUP.cfg

    #------------------------------------------------------------------------------------
    # Config Variables that drive the firm's location for workspace files,etc.
    #------------------------------------------------------------------------------------
    _AECOM_WORKSPACE = K:/CAD/AECOM_PER/02_Application/Dev_Bentley_SB/Bentley/ABD V8i Ss5/WorkSpace/
    _AECOM_PROJECTS = I:/60344886/5. CAD/99-SUPPORT/APP_CONFIGURATION/Projects/
    _AECOM_USERS = Z:/Users/
    #----------------------------------------------------------------------
    #Site Workspace Info
    #----------------------------------------------------------------------
    #_USTN_SITE = $(_AECOM_WORKSPACE)Standards/
    #----------------------------------------------------------------------
    #Project Workspace Info
    #----------------------------------------------------------------------
    #_USTN_PROJECT = $(_AECOM_PROJECTS)Config/
    #_USTN_PROJECTSROOT = $(_AECOM_PROJECTS)
    #_USTN_PROJECTDATA = $(_USTN_PROJECTSROOT)$(_USTN_PROJECTNAME)/
    #----------------------------------------------------------------------
    #User Info
    #----------------------------------------------------------------------
    _USTN_USERNAME = $(USERNAME)
    _USTN_USER = $(_AECOM_USERS)$(USERNAME)/
    MS_FKEYMNU = $(_AECOM_USERS)$(USERNAME).mnu
    #----------------------------------------------------------------------
    #Include mslocal.cfg
    #----------------------------------------------------------------------
    MSDIR:${_ROOTDIR}
    %include $(MSDIR)/config/mslocal.cfg



    My ucf Looks like this and is here Z:\Users\biddles
    #----------------------------------------------------------------------
    _USTN_USERDESCR = biddles
    _USTN_USERINTNAME = default
    _USTN_PROJECTNAME = FLINDERS_PROJECT
    #Displays all configuration variables
    _USTN_DISPLAYALLCFGVARS = 1
    # Design history enablers
    MS_DESIGN_HISTORY = delete=1
    MS_DESIGN_HISTORY > retire=1
    TF_NOCOMPATIBILITYWARNING = 1

    Note I got a little confused what you meant by:

    AECOsim and MicroStation will write this line to this file when you change projects: _USTN_PROJECTNAME = FLINDER_US so the next time you start it will default to the last project you were in.

    And the pcf I have copied it from the BuildingTemplate_AU and located it here
    I:\60344886\5. CAD\99-SUPPORT\APP_CONFIGURATION\Projects\Config\FLINDERS_PROJECT.pcf
    My project files I have copied and are in the folder
    I:\60344886\5. CAD\99-SUPPORT\APP_CONFIGURATION\Projects\FLINDERS_PROJECT

    Thanks again
  • In  the FLINDERS_STARTUP.cfg file you posted  the "Project Workspace Info" lines are commented out with the # symbol, remove that from those three lines. Otherwise it looks good. Another thing to look at is your project folder structure and then adjust the .pcf file to reflect the structure. The template projects and .pcf files we deliver are examples, the template folder structure is this:


    And in the .pcf files there are variables pointing to the various folders. One of those is MS_DEF, the main entry point to the project:

    # MS_DEF: Main Project Entry Point
    MS_DEF = $(_USTN_PROJECTDATA)Designs/

    So you can edit that line in the .pcf to point to the default folder that AECOsim will look for when you select the project in the File Open dialog box. Once you have that set we should look at several other line in the .pcf file and edit them to meet your project folder structure.

    See if this little video demonstrates what I mean on the writing to the .ucf file, note that when I change projects AECOsim the File Open dialog box goes to the Designs folder under the main project folder because that is defined by MS_DEF:

    The DATASET_AU should be released within the next 30 days. There are minimal changes to the Dataset between Ss5 an Ss6, but I would really want to wait for the Ss6 dataset as there are some new Catalog Items. You can refer to the ReadMe file posted by Jeff Ashley.

    Hope this gets you unstuck. Again the next thing I would want to look at is your project folder structure.