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.
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?
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