Attach reference; go directly to the path as specified in MS_RFDIR (MS/J)

Discussion in 'Microstation' started by PP1, Apr 14, 2004.

  1. PP1

    PP1 Guest

    When I want to attach a reference file, I always start (in reference
    dialog) in the map which I last used. But I want to start in the map
    specified in the MS_RFDIR.
    Is there a Keyin that I can put behind a functionkey that does the
    trick!

    For example something like "reference attach $MS_RFDIR"

    Thanks,

    Peter
     
    PP1, Apr 14, 2004
    #1
  2. Have a look at the " attach reference" dialog. There is a "directory" drop
    down.
     
    Thomas Voghera, Apr 14, 2004
    #2
  3. PP1

    b0bik Guest

    U can manage it using simple macro :

    Sub main
    MbeSendCommand "REFERENCE ATTACH"
    MbeSendCommand "MDL COMMAND MGDSHOOK,fileList_setDirectoryCmd " +
    MbeGetConfigVar("MS_RFDIR")
    End Sub

    (tested on SE)
     
    b0bik, Apr 15, 2004
    #3
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.