Dspen Posted April 29, 2020 Posted April 29, 2020 I work for a glazing company where we do all our glass sizing manually and am looking for a way to do it automatically. I am not very knowledgeable in Lisp. So we have a block we use to put the sizes into. I was wondering if it is possible for a lisp to read the size of a rectangle that has the block inside of it and put dimensions into the specified area. The block also has multiple Visibility's to fit in different places. There is also multiple visibility's for the reason that I made it for multiple people with different preferences. (See dwg. file below for block). Is this at all possible? Callout_GL.dwg Quote
Dspen Posted April 29, 2020 Author Posted April 29, 2020 I am looking for a way for it to read the size of a rectangle on a certain layer. So we could run the boundary command and have it auto add the glass bite and put the dimension in. I know it being able to add to the dimension is more complicated but it would be helpful. If it cant we could just run a mass offset command to the layer and have it read the offset as the bite is a constant # for all sides. Quote
BIGAL Posted April 29, 2020 Posted April 29, 2020 If you look at Lee-mac dynamic block properties lisp you can pick or draw a rectang and then populate your dynamic block with the correct values including those not visible. Here is draw a rectang and dimension. You could add the dynamic properties other than Len & Ht. Multi GETVALS.lsp box.lsp 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.