Quantcast
Viewing all articles
Browse latest Browse all 14319

Having action_tiles in DCL preform MACROS- HOW?

Hello everyone, for our next trick we are creating dialog boxes using dcl and lisp, so far successful

but in attempting to have the action tile for our slide images preform an action upon being clicked, such as we are able to do in menus and in lisp

 

how can i assign my macro to preform when an action_tile is selected?

Here's some of the lisp..

 

   (start_image "Slide1")(slide_image 1 1 X# Y# (strcat Folder$ Slide1$))(end_image)
   (start_image "Slide2")(slide_image 1 1 X# Y# (strcat Folder$ Slide2$))(end_image)

   ; Dialog Actions
   (action_tile "Slide1" "(setq Return$ Slide1$)")
   (action_tile "Slide2" "(setq Return$ Slide2$)")

 

 

where if the user clicks on slide1$, the return$ works and the name of the tile image is inserted into the drawing, but we are wishing for more than what we already know we clicked on, we want it to preform something akin to this

 

^C^Csnap;0.0625;-layer;s;pid;;-insert;"ANGLE CONTROL VALVE.DWG";\;;\

 

upon (done_dialog) when any of the tiles are selected.

Hope this makes sense, hope we have an answer in the morning.

 

Cheers

 

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 14319

Trending Articles