Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...