Is the there a way of getting a list of reference files that are attached to a given design file without loading the deign files in MicroStation?

Is the there a way of getting a list of reference files that are attached to a given design file without loading the deign files in MicroStation? 

Parents
  • As Jon and Jan mention, to properly interpret contents of a DGN file, you MUST open it -- there is no alternative. There are two interpretations of "opening" or "loading" DGN files... one is in a MicroStation graphics session, where you view/create/edit through its user interface. The other is through "non-graphics" mode, where you can access information in a DGN file from a command line IF (and only if) the application you use to interface with the DGN file was written to handle this (i.e. NOT enter "systemGraphics"). Not many applications have been developed to do the latter, mainly because it would be extremely challenging to account for various operations that rely on MicroStation's input queue.

    That said, your question infers that you want to open the file to get reference information, but not enter graphics to do that. If that is what you are looking for, you can, in fact, do this using the technique identified in this wiki article. You can run that straight from a command line (in a DOS Command Shell) using the syntax:

    ustation -waref "<DGNfile>"

    where ustation.exe either has to be in your PATH or in the current folder and <DGNfile> is the file that contains references. The " double quotes are there for a reason, as those are definitely necessary if you include a path specification for the DGNfile that has spaces in it.

    The result will be a dialog that looks like this:

    and you can do what the rest of the article mentions to get that into a text file (or not).

      

Reply
  • As Jon and Jan mention, to properly interpret contents of a DGN file, you MUST open it -- there is no alternative. There are two interpretations of "opening" or "loading" DGN files... one is in a MicroStation graphics session, where you view/create/edit through its user interface. The other is through "non-graphics" mode, where you can access information in a DGN file from a command line IF (and only if) the application you use to interface with the DGN file was written to handle this (i.e. NOT enter "systemGraphics"). Not many applications have been developed to do the latter, mainly because it would be extremely challenging to account for various operations that rely on MicroStation's input queue.

    That said, your question infers that you want to open the file to get reference information, but not enter graphics to do that. If that is what you are looking for, you can, in fact, do this using the technique identified in this wiki article. You can run that straight from a command line (in a DOS Command Shell) using the syntax:

    ustation -waref "<DGNfile>"

    where ustation.exe either has to be in your PATH or in the current folder and <DGNfile> is the file that contains references. The " double quotes are there for a reason, as those are definitely necessary if you include a path specification for the DGNfile that has spaces in it.

    The result will be a dialog that looks like this:

    and you can do what the rest of the article mentions to get that into a text file (or not).

      

Children