Attribute definition value not updating

Attribute definition value not updating

Anonymous
Not applicable
914 Views
2 Replies
Message 1 of 3

Attribute definition value not updating

Anonymous
Not applicable

In a block, I have an attribute definition. If I change the value of the attribute in block editor, I cannot get it to update when using the block.

Try changing the value to be: "block-version2-<field>". Attsync and regenall will not work. I have to "add selected" to get it to work.

 

I usually have 40+ instances of a similar block that have a version # updated constantly, so replacing each block each time gets old quick.

 

Or if by some chance it does work by using DesignCenter redefine, then the <field> goes to all ###.

0 Likes
915 Views
2 Replies
Replies (2)
Message 2 of 3

Libbya
Mentor
Mentor

If you go into block editor and change the attribute value, it will not update the attribute value of existing block instances. That's a given.

 

If you want to update the version number after insertion, then I would recommend creating a user parameter (or lookup if you prefer) for version number and then reference it with a field in the same manner you are using the 'finish' field. Then you will be able to use QSELECT to select all of the blocks of that name and alter the version number in properties, regen, and all will update.

 

 

0 Likes
Message 3 of 3

ojuris
Advisor
Advisor

You can use a hidden attribute, change its value in properties window, and link it to a visible attribute.

You can select all blocks and change their values at once.

0 Likes