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.
I have a new development to report on this...
After installing the Ohio DOT configuration through their installer program, it edited my C:\ProgramData\Bentley\MicroStation CONNECT Edition\Configuration\ConfigurationSetup.cfg. I edited the file to undo the change. The next time I opened MicroStation the Role drop-down appeared on the WorkPage.
I still had my Roles folder set up from my previous attempts:
_USTN_ROLESDIR : System = C:\ProgramData\Bentley\MicroStation CONNECT Edition\Configuration\WorkSpaces\Roles\
Now, all of a sudden, it's working.
The location of USTN_ROLESDIR is defined as follows _USTN_ROLESDIR=$(_USTN_WORKSPACEROOT)Roles\
In our EnvisionCAD Traning Workspace we redefine _USTN_WORKSPACEROOT to go to C:\EnvisionCAD\Training\ Creating a Roles folder there with the two .cfg files, the WorkPage Role drop-down has no problems picking them up.
Edit: attached my ConfigurationSetup.cfg file to show that there is nothing special set in this file.
Rod WingSenior Systems Analyst
what version of MicroStation are you using ?
and did you create role 1 and role 2 ?
I am not finding anything on ODOT that mentions roles or it being defined by anything in ODOT.
CADD Manager | CADD Department
Main: 877 627 3772|
1000 Waterview Drive Suite 201 | Hamilton, New Jersey 08691
Only if you want it to show in the UI (also it must be named Roles, you can't define a location in the workspace with name other than Roles).
If you want to manually put the _USTN_ROLE_NAME in the user's PCF you can put the Roles folder anywhere and it'll be used. This makes me think the current behavior is a bug.
The role has been in the product since the beginning - so this is really not new - as you have always been able to do what you mentioned.
But the UI part they have added - as you have discovered as well - is limited to the workspace (at least that is what you and I have found).
It would be nice to hear from Bentley on the design of this functionality. Does this function as designed ?
I created the /Workspaces/ClientX/Roles/ folder and put Role cfg files there. Did not use the _USTN_ROLESDIR variable. It worked anyway. Shows up in the UI and works fine.
However. I have the same problem with Role 1 and Role 2 loading at the same time when switching roles. Need to close the program and open it again.
Are you using Microstation Update 16 (or one of the verticals based on it like ORD 10.10)? Think I last tried this with Update 15. I filed a change request on it but I'm not sure it got supported.
On changing roles: In general microstation isn't good at workspace changes where you don't exit and go back in so this doesn't surprise me.
I tried this on ORD 10.10.01.03 and MS 10.15.02.11.