jonathann3891 Posted June 12, 2015 Share Posted June 12, 2015 I'm stuck and cant find a solution. I'm writing a lisp w/ DCL that will draw tee supports. I've got the list to show up in my DCL, but when you select a steel size, its not setting any values that I've stored. Right now I only have 2 steel sizes in the program to try and simplify it. Can someone please point me in the right direction? Some areas I'm sure aren't correct (if userclick (progn (setq $COLSIZE$ (fix $COLSIZE$)) (setq $COLSIZE$ (nth $COLSIZE$ column)) (setq $BMSIZE$ (fix $BMSIZE$)) (setq $BMSIZE$ (nth $BMSIZE$ beam)) ) Set Variables (defun info () ((= $COLSIZE$ "W5X19") (SETQ COLDEPTH 5.13) (SETQ COLFLGTHK 0.44) (SETQ PLTDEPTH 0.75) (SETQ PLTWIDTH 12.0) ) User input (set_tile "toselev" "000.000") (mode_tile "toselev" 0) (action_tile "toselev" "(setq TOSEL $value)") Tee_Test.LSP TPOLE.dcl Quote Link to comment Share on other sites More sharing options...
Tharwat Posted June 12, 2015 Share Posted June 12, 2015 but when you select a steel size, its not setting any values that I've stored. Hi, You used the name of text attribute key instead of the popup_list key attribute . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.