Exchange Forum > Dcl Dialogs
Angles
Angles

#1

Theodorus Winata
Join Date:
11-15-2007
J Briggs,
Thanks for fixing C Shapes program. Now I'm working on Angles. Here is what I have so far, please run it and tell me how to fix it.
 
Thank you,
 
Theodorus Winata

Attachments  Angles.dcl    Angles.lsp  
Angles

#2

J Briggs
Join Date:
07-25-2007
I think you need a few data lines for testing purposes. You will need to extract the Thks list from the choice picked by the Heights list. It will work very similar to the way you determined the Widths and the Heights lists, but your just start with the second item of each list in the DataList. If I'm understanding it the DistB will have to be the first item of the lists you are getting the Thks list from also. I think also that working with strings in your list will make it easier.
Angles

#3

Theodorus Winata
Join Date:
11-15-2007
J Briggs,
I rewrote Angles.lsp to Lshapes.lsp as attached. When I ran the routine, Leg Thickness popup_list blank. ; error: too many arguments. Horizontal Leg B and Vertical Leg D popup_lists seem work. Could you please look into it and tell me how to fix it?
 
Thank you,
 
Theodorus Winata

Attachments  Lshapes.dcl    Lshapes.lsp  
Angles

#4

J Briggs
Join Date:
07-25-2007
Theo,
I changed a few variable names to clarify the lists. It's working and drawing the angles per the data in the DataList. I've debugged it. Now all you need to do is test it and add more data lines for your project.
Regards,
J Briggs

Attachments  Lshapes2.lsp    Lshapes2.dcl