BlockInstanceName Bug - Text field within block breaks after restart

Hi all, I am using blocks nested within other blocks. The sub-blocks have text labels using BlockInstanceName text fields. Whenever I save, close out, and rep-open the file, all of the BlockInstanceName text fields appear as #### and have to all be manually re-linked to their host blocks. Text fields NOT within blocks do not have this issue.

The problem is that I have over 250 of these text fields and it is a massive pain to re-link them all. Any workarounds I should know about? Thanks!

Hello- can you post a simple example file set up this way?

-Pascal

Nested block - BlockInstanceName.3dm (173.1 KB)

Hi Pascal,

Thanks for your response. The attached file is conceptually the same as the file I’m working in. When I open the attached file, the text label with the BlockInstanceName associated with “Nested block 1” returns ####. Sometimes the text fields work, sometimes they don’t.

Hello- I see , thanks. I can reproduce this at least partly.
RH-75783 Text fX- block instance name problem
-Pascal

Maybe this is the same issue?

Hi Tristan -

As Steve mentions in the YT item that Pascal filed, this works as expected when you put the text field inside the lowest level block instance and replace the GUID with the word “block”. That makes that text field look up at it’s parent’s properties.
In the attached, I’ve modified your file for the circle block but not the rectangle:
image

→ NestedBlockName.3dm (71.2 KB)
-wim

1 Like

I see, so this fix depends on having the text field inside of the lowest level block. That makes it a bit difficult to select all my text labels and make universal changes (switch to different text style, or scale, etc), but it’s way easier than manually re-linking all of those text fields. Thanks for your help!

Hi -

Those text objects will still update when their style is modified.
-wim