Jump to content

1 Screenshot

About This File

Multiple Inputs 


Multiple Input DCL is a library routine that allows you to create as many lines of input as required (subject to Autocad limits) using a dialouge rather than the command line. 


It can be used in most lisp code with just a couple of lines of code, compared to a hard coded solution of around 50+ lines repeated every time you want to use a dcl.


To use just save the "Getvals multi.lsp" to a directory that is included in you Autocad search path. If you need more information how to do this send an email to info@alanh.com.au 


It only requires 2 lines of code in any lisp to use.
 (if (not AH:getvals)(load "Getvals multi.lsp")) ; check if already loaded else load
(setq yourlist (ah:getvals '("Xfall percent"  "Enter Horizontal scale " 5 4 "100" "Enter Vertical scale" 5 4 "50" "Enter number of decimal places" 5 4 "2")))

There is extra examples in the top of the code about how to use. You can have 1 entry or as many as required subject to screen size.

 

For complete example contact info@alanh.com.au and we will send some more example code load and a working example "Make furniture table.lsp"

 

For testing just copy the two lines of code to the command line you will see a "list" of the result. You can then convert if required to a real or integer using Atof or Atoi.
 


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest

  • This will not be shown to other users.
  • Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
    Add a review...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


Nikon

  

@BIGAL A wonderful program! 
THANK YOU VERY MUCH!
 

Response from the author:

Check downloads there are more.

Multi radio buttons

Multi Radio buttons 2 col

Multi Toggles

Multi getvals

Multi getvals 2 col

 

If not there PM me.

×
×
  • Create New...