[U15] CONNECT EDITION MS_DGNLIBLIST_ITEMTYPES

I am experiencing a fault in opening files with this new variable set.
Can anyone please explain how it is to be used?

The documentation provides only rudimentary information, and no examples, that if followed as per other variables, causes a fail to open.

There was a post on the Insiders forum, about 2 new "required" variables for ITEMTYPES, but no further progress has occurred there, so posting here.

MS_DGNLIBLIST_ITEMTYPES
DGN Library Itemtypes List
List of DGN library files that are used to find available ItemTypes for your current session.

If I set to the same as "MS_DGNLIBLIST", i.e.

MS_DGNLIBLIST_ITEMTYPES =  $(_USTN_WORKSPACESTANDARDS)DgnLib/*.dgnlib

Microstation will fail to open files, and after a time attempting to open the DGNLIB, brings up the Abort, Retry, Ignore dialogue.

Parents
  • I tried setting the configuration variable values as suggested and MicroStation loads. I edited the values through the Configuration Variables dialog from inside a MicroStation session.

    Where exactly are you setting this variable. Can you try generating an MSDEBUG file of your configuration and share.

          

  • From what Mark said, it appears to work as I had assumed. Thanks Mark.

    The setting is configured in the Workspace CFG file, alongside my DGNLIBLIST.

    In the example, they both resolve to the same, seer path location. Below is my section of CFG

    #----------------------------------------------------------------------
    # DgnLibs:
    #----------------------------------------------------------------------
    MS_DGNLIBLIST = $(_USTN_WORKSPACESTANDARDS)DgnLib/*.dgnlib
    MS_DGNLIBLIST_ITEMTYPES = $(_USTN_WORKSPACESTANDARDS)DgnLib/*.dgnlib

    1. leave the last line in, Microstation will open, but crash when opening a file.
    2. remove the last line (or # it out), restart Microstation, it loads the file OK and operates.
    3. alter the last line to point to a specific file or files, as per Mark's example, restart Microstation, it loads the file OK and operates.

    However, option 3 assumes there is no file matching the search. If a file exists, I get the error as above.

    Still working through. Watch this space.
    BTW has ANYONE got this working properly?

    Greg Smith

    Microstation 10.17.01.058

    Opinions expressed are my own and not necessarily those of my employer

Reply
  • From what Mark said, it appears to work as I had assumed. Thanks Mark.

    The setting is configured in the Workspace CFG file, alongside my DGNLIBLIST.

    In the example, they both resolve to the same, seer path location. Below is my section of CFG

    #----------------------------------------------------------------------
    # DgnLibs:
    #----------------------------------------------------------------------
    MS_DGNLIBLIST = $(_USTN_WORKSPACESTANDARDS)DgnLib/*.dgnlib
    MS_DGNLIBLIST_ITEMTYPES = $(_USTN_WORKSPACESTANDARDS)DgnLib/*.dgnlib

    1. leave the last line in, Microstation will open, but crash when opening a file.
    2. remove the last line (or # it out), restart Microstation, it loads the file OK and operates.
    3. alter the last line to point to a specific file or files, as per Mark's example, restart Microstation, it loads the file OK and operates.

    However, option 3 assumes there is no file matching the search. If a file exists, I get the error as above.

    Still working through. Watch this space.
    BTW has ANYONE got this working properly?

    Greg Smith

    Microstation 10.17.01.058

    Opinions expressed are my own and not necessarily those of my employer

Children