Jump to content

Help! Dynamic blocks, visibility states, and attribute tags


Darksaber501st

Recommended Posts

Hi!

 

I've current got a point-label block (attached) with 4 separate visibility states, with each state representing a different location for the label relative to the basepoint.

 

To accomplish this I have a single attribute definition for the desired label (ID, in block center, always invisible), and 4 additional definitions (upper right, lower right, etc.) in the appropriate locations for each visibility state. I set the default value for those four tags to be the value of the center ID tag via a field. However, when I actually insert the block and update the ID attribute, the attributes in each visibility state only show the default value of the ID field instead of the current value.

 

Obviously, I'm relatively new to this, but I hope what I'm trying to accomplish has been adequately described. If anyone knows how I can fix this block to achieve my desired end (the label shows up properly in each visibility state, in the correct location, based on a single entry of the label), please let me know.

 

PZLABEL.dwg

Link to comment
Share on other sites

There are 2 things going on in your block,

first change the properties of all the attributes to read Lock Position=yes, this will allow them to show up correctly in each visibility state,

second turn the ID attribute back to visible in the upper right visibility state (it won't show in the drawing because it's property is invisible),

Then when you insert the block you will need to alter the visibility state at least once and do a regen before you see it working.

Link to comment
Share on other sites

  • 1 year later...

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