Jump to content

Impossible to change attribute text size within dynamic block


Recommended Posts

Posted

I regularly use the attached dynamic block but have a big issue in that I cannot control the attribute text size without having to explode and then individually edit every bock.

The attribute is defined with a unique text style and was hoping to use that to control but this does not work, nor does trying to use annotative elements.

I tried making the text style annotative, the block it is part of and the dynamic block that contains the sub blocks - no luck.

Is there a solution to this?

 

Beam.dwg

Posted

It seems you posted this here as well... Attribute text size not changing in dynamic block - Autodesk Community

 

You need to run ATTSYNC on the block, but, how you made the block, when trying to use ATTSYNC it reports the block has NO ATTRIBUTES.

 

You added the visibility states into the block as nested Items, easy solution is to update the nested blocks with LISP. 

 

Maybe... Solved: Update attributes of nested blocks in dynamic blocks - Autodesk Community

 

 

Posted

hi again....

i see this offers a solution to update attributes within nested blocks, however my issue is that i need to change the size of the text depending on what scale i intend to show at.  I had foolishly assumed that defining a unique text style would give this control, but this doesn't work as when defining attributes a size needs to be specified.

 

 

Posted

one work around might take some work, might work

If you are happy with the text sizes being incremental se up your attributed dynamic block as you have now.

Set these as a visibility status, lets say called "1-1"

Add fields positioned as you like and suitably sized to be larger or smaller text, set their visibility status, lets say"2-1" or "1-2" - larger or smaller as you want. Each attribute will be linked to a field - change the attribute the field text also changes.

 

When you insert the block and set a status then only the attribute or field should show which should be the size you want.

 

 

I say should.. I haven't tried this

Posted

Thank you For the suggestion.

I believe the only solution to solve this is Lisp or similar .

i need to change the text height without exploding the dynamic and sub blocks.

the reason for this is that this beam block does not work alone . There are several other blocks that work alongside it . All attributed in a similar way .

i need the ability to control the text height via the text style name and the only way to do this is via an intrusive script .

 

 

 

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