running a .txt file to change levels, draw line and label the level

Good Morning,

I am trying to figure out how the previous administrators ran a .txt file into a .dgn so that it will go through all the levels, draw a line for that level and then place text of that level's name. Here is the beginning few lines of the .txt file. I have tried @C:\path\file_name.txt in the keyin but it doesn't seem to work. Nor does starting the Place Line command and then running the keyin.

I appreciate any help, thanks.

God bless,

David

Parents
  • The first thing I would check are the level numbers in Level Manger. Verify that the ATW_Level is actually number 500 and so on. It could be the level numbers are wrong.

    Next would be to try the entering in the first two lines manually into the key-in window. See if it works that way.

    xy=1000000,1000000
    lv=500;place line;dx=0,-10;di=200,0;%d;reset;place text;ATW_Level;dx=-200,-10;

    Using a valid level name in the lv= key-in this worked for me.

    Long term I would get rid of the level number definitions in your dgnlibs, in this text file, and anywhere else you may have them. They aren't needed any more and can cause more problems than they're worth.

    https://envisioncad.com/tips/microstation-tip-level-numbers/

    Rod Wing
    Senior Systems Analyst

Reply
  • The first thing I would check are the level numbers in Level Manger. Verify that the ATW_Level is actually number 500 and so on. It could be the level numbers are wrong.

    Next would be to try the entering in the first two lines manually into the key-in window. See if it works that way.

    xy=1000000,1000000
    lv=500;place line;dx=0,-10;di=200,0;%d;reset;place text;ATW_Level;dx=-200,-10;

    Using a valid level name in the lv= key-in this worked for me.

    Long term I would get rid of the level number definitions in your dgnlibs, in this text file, and anywhere else you may have them. They aren't needed any more and can cause more problems than they're worth.

    https://envisioncad.com/tips/microstation-tip-level-numbers/

    Rod Wing
    Senior Systems Analyst

Children