Field associated to an Attribute doesn't update in a Block

Field associated to an Attribute doesn't update in a Block

adminKNNTU
Community Visitor Community Visitor
326 Views
12 Replies
Message 1 of 13

Field associated to an Attribute doesn't update in a Block

adminKNNTU
Community Visitor
Community Visitor

I have a block of an electrical module. In the bottom right corner, it includes four attributes for four different effects. In the top right and left, those values are repeated using "Field" commands linked to the attributes. I configured them using the "Field" > "Object" > "Value" method. However, when I use the block and update the attribute values, the Field entries don't reflect the changes. I already tried using the REGEN, ATTSYNC, and FIELDUPDATE commands, but nothing seems to make them refresh.

0 Likes
327 Views
12 Replies
Replies (12)
Message 2 of 13

Ed__Jobe
Mentor
Mentor

The word I got from the developer team was that this behavior is “by design”. There might be other ways to accomplish what you want. 

Ed


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
How to post your code.

EESignature

0 Likes
Message 3 of 13

Libbya
Mentor
Mentor

Fields will not update within blocks until you have performed a single dynamic action.  Your block does not contain any dynamic parameters so you obviously have not performed any dynamic action.  Only one action needs to be performed and then the fields will update for the rest of the 'life' of the block.  If you copy a block that has had a dynamic action performed, then no additional action is required with the copy.  If you create a tool palette tool from a block that has had a dynamic action performed, then no additional action is required with any insertions made using that tool.

 

Additionally, all your fields appear to be placed within mtext.  Fields will not work in mtext within blocks.  Make those attributes as well.

Message 4 of 13

ruud_vanputtenVCNAQ
Participant
Participant

Hi Libbya,

 

I'm running into the same issue. However when i place the field outside of mtext and perform a stretch, the field still wont update.

Any ideas how i can fix this?

 

Kind regards,

 

Ruud 

0 Likes
Message 5 of 13

h_s_walker
Mentor
Mentor

@ruud_vanputtenVCNAQ 

 

I can see the problem. Look at the two images below. Your field is missing a vital tickbox (in the second image). Unfortunately I can't see how to fix it as I tried creating an attribute and a field which linked to that attribute and I got the same problem as you, the tickbox did not appear.

Capture.JPGCapture1.JPG

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 6 of 13

ruud_vanputtenVCNAQ
Participant
Participant

Hi Howard,

 

Thanks for taking a look at the block. 

Would you be able to share the block you have? Then i will deep dive into it and see if i can find any differences.

 

Kind regards,

 

Ruud 

 

 

0 Likes
Message 7 of 13

h_s_walker
Mentor
Mentor

Here you go. The company information has been removed

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 8 of 13

Brock_Olly
Collaborator
Collaborator

That tickbox only appears when you use a field inside an attribute, not a field on its own. Kinda weird but hey

Message 9 of 13

h_s_walker
Mentor
Mentor

@Brock_Olly Yeah I forgot about that. I am such an idiot

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

Message 10 of 13

h_s_walker
Mentor
Mentor

@ruud_vanputtenVCNAQ try the attached drawing

 

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 11 of 13

ruud_vanputtenVCNAQ
Participant
Participant

Hi Howard,

 

Next step, is there another way to place the attribute inside the mleader instead of using a field? 

If not then I guess I'll have to create a look-a-like mleader with some dynamic parameters and contraints. 

 

Kind regards,

 

Ruud 

0 Likes
Message 12 of 13

h_s_walker
Mentor
Mentor

@ruud_vanputtenVCNAQ Unfortunately not. You cannot put an attribute inside an mleader

Howard Walker
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Left Handed and Proud

0 Likes
Message 13 of 13

ruud_vanputtenVCNAQ
Participant
Participant

@h_s_walker Thanks for the conformation, I'll figure something out. Cheers. 

0 Likes