Selectable "Roles" on the Work Page

How do we configure MicroStation so that we can use Selectable "Roles" on the Work Page with MicroStation or OpenRoad/Rail Designer?

It was shown in the MicroStation SIG All About the DGNWS.

Parents Reply Children
  • I got it to work only after updating to 10.15.02.11.

    I defined the "roles" directory in my Workspace cfg to point to my /Workspaces/ClientX/Roles/.

    _USTN_ROLESDIR=$(_USTN_WORKSPACEROOT)Roles/

    I placed Role1.cfg & Role2.cfg in the Roles directory.

    The only issue is this:

    It worked when I picked Role1. Loading only Role1 standards.

    When I exited Connect and reopened, I picked Role2. It loaded both Role1 and Role2 standards.

    I exited and reopened again, leaving it on Role2. This time it worked only loading Role2 standards. 

    It appears that the software must go through a cycle to correctly set the personal.ucf file when switching roles.

  • what happens if you move the roles folder to another location ? other than under the workspace root.

    Timothy Hickman

    CADD Manager | CADD Department

    timothy.hickman@colliersengineering.com

    Main: 877 627 3772| 

    1000 Waterview Drive Suite 201 | Hamilton, New Jersey 08691

  • Interesting... It didn't work when I moved the Roles directory and redefined it to be found under the Worksets.

    It only seems to work under the Workspace. I'll have to keep testing.

  • I did some testing on this.

    If you define _USTN_ROLESDIR to be anything OTHER than $(_USTN_WORKSPACEROOT)Roles/ you will not see the drop-down in the UI. THis is at any level.

    HOWEVER, if you have _USTN_ROLE_NAME defined in your Personal.ucf, and there is a cfg file for that ROLE_NAME wherever you did point ROLESDIR to, that config file will be loaded even though you don't see the Role selector in the File Open screen.

    I tested setting _USTN_ROLESDIR in WorkspaceSetup.cfg, our Organization standards cfg, our workspace cfg and our workset cfg and it obeyed those 2 rules in all locations.

    I tested setting _USTN_ROLESDIR to each of:

    _USTN_ROLESDIR = $(_USTN_WORKSPACEROOT)Roles/
    _USTN_ROLESDIR = $(_USTN_ORGANIZATION)Roles/
    _USTN_ROLESDIR = $(_USTN_WORKSETROOT)Roles/
    _USTN_ROLESDIR = $(_USTN_WORKSPACEROOT)Office_Roles/
    

    All failed to show the UI except the first (even the last one where I set it to the the workspace folder, but just a different name than Roles).

    As long as I had _USTN_ROLE_NAME in my Personal.UCF and a role of that name in the roles directory, the config was processed for all of the settings I tried above.

     

  • I should add, if you don't define _USTN_ROLESDIR to anything, but a Roles folder with cfg files in it is created in _USTN_WORKSPACEROOT, it will automatically show up in the UI.