IIUC,
Sounds like you could use fields for this.
Create the normal title block tags, for the primary/usual visibility state.
Then do the following (as I recall):
For the tags for the other visibility states, *use the attdef command* - you
can't do the field thing from the properties palette 😞 - and create your
new tags (matchprop the original tags as needed) - then for the value area,
choose the field->object->tag->value option, selecting the appropriate tag
you need to copy. Be sure to check the box marked 'use values from block
insert'.
Try it with one tag to make sure you have things set up properly.
Put the 'tag copies' in their appropriate visibility states.
When you are done, you should only need to enter the data once upon block
insertion (manually or via a lisp routine). When the other visibility
options are selected, and you do a regen, the attributes should fill in
based on the original data.
Note that the user can still change the attribute of the other visibility
tags independently (if they're not too bright), not sure how to prevent
this.
I don't know that you'd need a dictionary for this, but if it helps, hey.
Best regards,
David Kozina
wrote in message news:5807661@discussion.autodesk.com...
I'd like to use a lisp function to manipulate a dynamic border and title
block. That is what started my question. Each border and title block custom
to the border will have identical attributes. I want all the attributes to
change and contain the same information. I store the information in the
dictionary. I have an OpenDCL frontend for working with the dynamic title
block but I need to change the visibility states. So, I need a lisp method.
I do of course know: the dyn-block name, the name of the visibility state
and all other information specifically about the block other than the
current value of the visibility state. I want to tell it a current value and
have it change.
Am I going about this wrongly? Would it be better to make lisp draw my
border and title block, in order to edit the information that way? I need to
be able to edit the attributes of the title block. I want it dynamic so that
I can eliminate inserts. I only need four versions of the title block and I
assumed that I could handle them as individual visibility states. Will I be
able to edit the attributes of all 4 title blocks no matter the visibility
state of the dynamic block?
Thanks again.