Jump to content

Need to collect value of dynamic block property via LISP


rwsice9

Recommended Posts

OK Guys, I've been searching endlessly for a solution to this, and I just can't seem to get anything to work.

 

I'm writing a lisp that adds a line of revision text to our title block. We have about 6 different sizes of it. We use a dynamic block for the title block text that uses a lookup table to set the size.

 

Here's what I am trying to do... I want to write a LISP that can read the current value of the lookup table, and set an insertion point for my revision block based on the size of the title block.

 

The block name that has the lookup is SG_SheetBlock2013, and the name of the lookup table property is "TBlock Size".

 

Can anyone help out on this? Please!? :?

Link to comment
Share on other sites

Here is an example of the block. Basically, the lookup table lets you pick a value from the list, and set other dynamic attributes based on what you pick from the list. For this block, say you pick the 24" x 26" size from the lookup. What it then does is sets a height parameter to 24", and a width parameter to 36". You can also use it to control visibility states.

 

And thanks for the link to the Lee Mac page. I can't seem to get those to work either though! Maybe I just have no idea what I'm doing! hahahaSG_SheetBlock2013.dwg

Link to comment
Share on other sites

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