How can I extract total length to txt?

Discussion in 'Microstation' started by Cata Man, Aug 12, 2016.

  1. Cata Man

    Cata Man

    Joined:
    Aug 12, 2016
    Messages:
    1
    Likes Received:
    0
    Hello everybody,

    I have this key-in to measure total length of the lines in some layers:

    mdl unload selectby;mdl silentload selectby;selectby level "Level1,Level4,Level11";selectby execute;measure length;xy=#,#

    Is there a way to create a V8 macro from this key-in to write the dgn name and the length value in a text file, separating by comma?

    Example:
    aaa.dgn, 172.34
    bbb.dgn, 346.12
    ccc.dgn, 123.45

    (Sorry for my bad english!)
     
    Cata Man, Aug 12, 2016
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.