Named Expressions (IsMdlDialogOpen)

When using Named Expressions how can I find out a dialogs ID, example below.  Looking for the "Choose Element - Element Selection" dialog ID.

Session.IsMdlDialogOpen(-7, "REF")

Parents Reply
  • Yes this is the dialog, looks like the name may be somewhat different in your version.  I used the dmsg dialogbug on, lots of numbers but nothing seemed to uniquely identify this dialog.  It appeared to be 79 but then I also see others that have that same numbers, this dialog seems to be one that changes according to selected tools so it may be difficult.

    948 Dialog hook resize: Element Selection, "PSELECT" 'dBox'=-79
    949 Dialog hook update: Element Selection, "PSELECT" 'dBox'=-79

    932 Dialog hook resize: Place SmartLine, "SMRTLINE" 'dBox'=-79
    933 Dialog hook update: Place SmartLine, "SMRTLINE" 'dBox'=-79

    Mike Longstreet
    Vermont Agency of Transportation
    Civil Engineering Technical Support
    VTCAD Help

Children