LISP-ROUTINE FOR CREATING A NEW LAYOUT!

Discussion in 'AutoCAD' started by Rolf Rosenquist, May 19, 2004.

  1. FRIENDS!

    In my program I want the user to select either an existing Layout or a new.
    They select the Layout from a popup_list. To select an existing Layout is no
    problems but now I want the user to select a new Layout from a template.

    How do I do it in Lisp?

    Rolf
     
    Rolf Rosenquist, May 19, 2004
    #1
  2. Rolf Rosenquist

    Steve Doman Guest

    Rolf,

    Perhaps use the AutoCAD command "Layout" with the "template" option.
    Maybe add a button to your DCL next to your popup_list, which runs the
    Layout command when pressed.

    Or perhaps add a text label to your popup_list, (cons "Template"
    (layoutlist)). If the return value from you popup_list is "Template,
    run the layout command.

    Steve Doman
     
    Steve Doman, May 19, 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.