How to set "level name" in Select By Att dialog using macro cmd?

Discussion in 'Microstation' started by redbyrd, Sep 19, 2007.

  1. redbyrd

    redbyrd Guest

    What is the macro cmd to select a defined level name in the Select By
    Attribute dialog box?

    I am using the macro recorder to develop a macro. After recording I
    get the following

    Sub main
    Dim startPoint As MbePoint
    Dim point As MbePoint, point2 As MbePoint

    ' Start a command
    MbeSendCommand "MDL SILENTLOAD SELECTBY dialog"

    MbeSendCommand "DIALOG SELECTBY "

    MbeSendCommand "SELECTBY EXECUTE "

    MbeSendCommand "DELETE ELEMENT "
    End Sub

    I want to eliminate the user having to select a level, rather I want
    to write a cmd in my macro to select a certain Level Name then execute
    something <delete> or <change attribute>


    thanks in advance
    redbyrd
     
    redbyrd, Sep 19, 2007
    #1
  2. redbyrd

    redbyrd Guest

    A little quick research solved my issue....
    I will post my solution a little later
     
    redbyrd, Sep 19, 2007
    #2
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.