When loading file, attribute/fields aren't able to be updated w/ dropdown/lookup

When loading file, attribute/fields aren't able to be updated w/ dropdown/lookup

Anonymous
Not applicable
1,752 Views
11 Replies
Message 1 of 12

When loading file, attribute/fields aren't able to be updated w/ dropdown/lookup

Anonymous
Not applicable

Hi everyone, need some help with an issue if possible. I've googled and now am turning to everyone's expertise for a bit of specific personal help!

 

I'm new to AutoCAD and dynamic blocks so bare with me if I misname some terminology.

 

I have a block with two attributes which are linked to lookup fields in text objects. So the block has two dropdowns to control two lines of text. When it's working, you select with the dropdown, do a REGEN and the fields/text updates.

 

When I reload the file, i.e. close and reopen the file, and then insert a new block, it is not able to be updated with the dropdowns. Instead of inserting as the default value of the attribute (blank), it enters with the name of the attribute. It cannot be updated with a REGEN, UPDATEFIELD, etc. FIELDEVAL is 31.

 

It can be fixed by going into Block Editor, clicking on the attribute, editing the value, right clicking the field, clicking update field (on both). They change the text from the field/attribute name, to "LookupString" (if I edit the block again, it will change to the field/attribute name as expected). If I save and exit the block, then all future inserted blocks work as expected. Until the file is closed and reopened.

 

Can anyone help me figure out exactly what is happening here? How do I keep it permanently ... working as intended?

 

Thank you

0 Likes
1,753 Views
11 Replies
Replies (11)
Message 2 of 12

Libbya
Mentor
Mentor

Post the file.  

0 Likes
Message 3 of 12

Anonymous
Not applicable

Sorry about that. Thanks 

Message 4 of 12

Libbya
Mentor
Mentor

When I insert a new block, change the lookup values and regen. it works fine.

 

 

0 Likes
Message 5 of 12

Anonymous
Not applicable

Did you try again, after opening it and modifying it, (i.e. saving it before exit) and reopening it?

0 Likes
Message 6 of 12

Libbya
Mentor
Mentor

Yes.

 

 

0 Likes
Message 7 of 12

Anonymous
Not applicable

Sorry, I should have specified again - if I have a block already inserted that is working correctly, it does not break when reopening the file. It is only newly inserted blocks that do not act as expected after the file is reopened. Please can you take a look at that too? Thank you

0 Likes
Message 8 of 12

Libbya
Mentor
Mentor

I do not understand what you are asking.  In the posted screencasts, I add a new block insertion each time.  In your original posted file, the block works fine.  If I delete the block, save the file, reopen, insert a new block... it works fine.  If I then save the file and reopen it... the block works fine.  Unless you can give some clearer description of how I can replicate your issue I will not spend more of my time on it.     

0 Likes
Message 9 of 12

Anonymous
Not applicable

In the screencast you opened the file, inserted a block, made changes, saved, exited, reopened, did not insert a new block again after reopening the file, and then it was still working as expected. Did you say you did insert a new block after reopening and it still worked as expected?

Here is what is happening for me, in the uploaded screencast.

 

fd175f40-5b2c-4d50-a619-da6bcc93aea2,640,710

0 Likes
Message 10 of 12

Anonymous
Not applicable

Screencast, sorry

0 Likes
Message 11 of 12

Libbya
Mentor
Mentor

I cannot replicate your issue.  If I reopen the file and insert a new block the original block and the new block work fine.  If I save and close the file, open it, insert a new block, all three work fine, etc, etc, etc...  I have been unable to find any situation in inserting, saving, closing, adding new blocks, modifying old blocks, etc... where any of the insertions do not work correctly.    

0ad02f20-c979-4962-8546-fa7ef44deb2b,640,710

0 Likes
Message 12 of 12

Libbya
Mentor
Mentor

 

0 Likes