Determining What to Do Next

Visual LISP

 
Determining What to Do Next
 
 
 

If the user chose OK, you must build a list containing the values set by the user's interaction with the dialog. This list is what gp:getDialogInput will return to its calling function. If the user chose Cancel, the function returns nil:

(if UserClick          ; User clicked Ok
 ;; Build the resulting data
 (progn
 (setq Result (list
 (cons 42 tileRad)
 (cons 43 TileSpace)
 (cons 3 objectCreateMethod)
 (cons 4 plineStyle)
 )
 )
 )
)