User Input Help

Discussion in 'AutoCAD' started by Nick Fuller, Aug 16, 2004.

  1. Nick Fuller

    Nick Fuller Guest

    Below is a piece of code I am using to change the layout name. I am running
    the code in conjunction with DosLib. I would like to have DosLib throw up a
    dialog box prompting the user for the name instead of the user being
    prompted at the command line. Does anyone know how to modify this code to
    suit?

    (defun c:LNAME ()
    (PRINC "\nType New Name For Layout")
    (COMMAND "LAYOUT" "RENAME" "" PAUSE (dos_msgbox "Layout Name Changed"
    "Layout Renamed" 1 3 2))
    (PRINC)
    )
     
    Nick Fuller, Aug 16, 2004
    #1
  2. Nick Fuller

    RCRuiz Guest

    Hola

    Here is a function that I did that is call getdat

    (getdat "Dialog" "title")

    You can use it insted of the doslib

    Saludos
     
    RCRuiz, Aug 16, 2004
    #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.