zlimbs Posted October 31, 2023 Posted October 31, 2023 Hey everyone, Not sure if you everyone is familiar what is stud rail is in the construction industry but they reinforce the load of concrete surrounding columns so they don't have to pour more concrete around the column to support the slabs. I have attached an image of an example below. I'm looking to create an auto lisp to draw out stud rails in Auto Cad 2021. The parameters that are given are the rail width, rail length, number of studs per rail, stud diameter, stud spacing, and end spacing. If someone would be kind enough to point me in the right direction or set me up with a draft for an auto lisp that would be greatly appreciated. Let me know if you need anymore information and I will provide it. Thanks, Zach Quote
BIGAL Posted November 1, 2023 Posted November 1, 2023 (edited) Multi GETVALS.lspHave a look at this it's a front end for your input. Save it to a support path. (if (not AH:getvalsm)(load "Multi Getvals.lsp")) (setq ans (AH:getvalsm (list "Enter values " "Length " 5 4 "1000" "Width " 5 4 "150" "Number of studs" 5 4 "5" "Stud dia" 5 4 "25" "End space" 5 4 "50" ))) (setq len (atof (nth 0 ans)) wid (atof (nth 1 ans)) num (atof (nth 2 ans)) dia (atof (nth 3 ans)) espc (atof (nth 4 ans)) ) Edited November 1, 2023 by BIGAL 1 Quote
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.