[pre-v8] - Understanding MicroStation configuration files

Hello, 

This is my first post on Be Communities and I am very new to learning MicroStation, so please forgive me if my question seems silly or very elementary. 

I have a task at work that has me looking into the configuration files of MicroStation, specifically mslocal.cfg and msconfig.cfg. Right now I am only trying to dissect and understand what these files do and how to interpret them. I was wondering if someone can tell me what language/syntax these files are written in so I can cross reference this and get a better understanding of what is going on? For example, I'd like to interpret what this little snippet does within the msconfig.cfg file:

%level 0

%if defined(_macintosh)
%if exists ($(_macsyspref)ustation.cfg)
%include $(_macsyspref)ustation.cfg
%endif
%endif

%if defined (_os2)
MS_PRINTSRVA : ${_ROOTDIR}/PRINTSRV.EXE
%endif
Any help or direction regarding this is highly appreciated. 
Regards,
Cory
  • Fresh Bubbalou

    Download the Admin user guides free pdfs from  Bentley

    simple google search For microstation & administrators & guide gave me these...

    V8i

    docs.bentley.com/docinfo.php

    v8

    docs.bentley.com/.../ms_adminguide_v8_0.exe

    These are not as easy to understand  as Keith's book but they are the official guides and are very long docs but have everything an administrator needs to know plus more.

    They are self extracting winzips of pdfs so dont let your antivirus freak you out ... ok?

    I downloaded and tested them myself first.. good luck..

    Oh and Fostertom you should do this too now you already have Keith's books these should be easier to understand now...

    Lorys

    Lorys

    Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

    But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80) 

    MicroStation user since 1990 Melbourne Australia.
    click link to PM me 

  • I use MSLOCAL.CFG to redirect users to the network. Years ago, pre-Windows, you needed special drivers  and configurations to get high end graphic cards for CAD. In those days, MicroStation used a version of MSLOCAL.CFG that was customized for that purpose. When we started using Unix boxes for some MicroStation work, there was also a version of MSLOCAL.CFG and we would query usernames and groups to point MicroStation at Department specific CFG files.

    So I figure this was where I would start. I drop a new version on a PC and the next seesion sees all my workspaces and users, etc.

    BTW, the syntax is very similar to unix shell scripts - so much so, that if you download Notepad++ and tell it that CFG, PCF and UCF files are bash files, you get some very nice syntax highlighting when editing them in it.

    And it is good for hacking at XML files when you load its XML Tools Add-on.  


    Charles (Chuck) Rheault
    CADD Manager

    MDOT State Highway Administration

    • MicroStation user since IGDS, InRoads user since TDP.
    • AutoCAD, Land Desktop and Civil 3D, off and on since 1996