BUG: linked blocks not updating layer settings

Rhino 7 / windows

when I place a block as LINKED with REFERENCE LAYER display, then changes in the linked file like:

  • layer lineweight
  • layer colour
  • layer linetype

are not updated via reloading when changed in the source file! That makes it quite unusable, I am afraid.

When I rename the Layer before saving the source block file however, changes are updated.

Also, the reference Layer display does not update when the linked block is deleted. It remains visible until the Rhino file is closed and reopened.

i dug this out of my history :no_mouth:

is no one using linked blocks? the problem with the updating is crucial imho…

Hi @dk2079
There are no updates for you here. It is still on the list.
The recommended workaround is still to reopen the parent file to update the linked blocks and regenerate the layer properties correctly.

The code that reads linked files when opening the main model includes some “book keeping” for creating the runtime layers and layer properties represent the linked layer overrides correctly in the main file.

The block update code sees that the linked file layers exist in the current model and decides incorrectly in favor of the existing properties over the layer properties from the linked model. Here is where the defect lies.

Saving the current parent model with the linked block and reopening it forces Rhino to use the the code that will update the layers properly allowing you to see the new layer properties correctly.

Mary Ann Fugier

Hi Mary,

thanks for confirming.

From my naive user perspective, I would assume that using “update” via block-manager would simply mean, reloading the entire linked block as if it has not existed before. I don’t understand why the code would be looking for anything where it needs to decide to keep anything. As I mentioned there is another problem where referenced layers are not deleted from the layer list even when the block is deleted from the document. I guess that is related. So manually deleting the block via BM and re-inserting it still won’t update the layers correctly.

Reopening the parent file is also not very convinient of course,

so I worked around it with GH, as the Elefront code seems to produce the desired result.
I can update the block with a single click on “Update” on the first node.

maybe that helps other people experiencing this issue

Best Regards,

1 Like