Attribute Field Error after inserting a block

Attribute Field Error after inserting a block

kamil_pajakH724R
Contributor Contributor
785 Views
7 Replies
Message 1 of 8

Attribute Field Error after inserting a block

kamil_pajakH724R
Contributor
Contributor

Hi,
I created a block that counts the length of an array. I did it using an attribute and a field. So far, it's been fine. The problem starts when I insert the block into another drawing using the block library's insert. After inserting, "###" appears instead of a value, and I have to set the field again. Is there a way to avoid having to update it each time?

There's of course the option of using plain text to insert the field, but there's a problem with mirroring it. Then it also mirrors the text. Therefore, I'd really like to stick with the attribute, but I don't want to set it every time I insert it into a new drawing.

Thanks

0 Likes
Accepted solutions (2)
786 Views
7 Replies
Replies (7)
Message 2 of 8

Moshe-A
Mentor
Mentor

@kamil_pajakH724R hi,

 

i tried to simulate the issue and did not had a problem but if you were post your file i could check anyway a field that shows #### means the property field is not available, does that put you in direction?

 

Moshe

 

 

 

0 Likes
Message 3 of 8

kamil_pajakH724R
Contributor
Contributor

I'm attaching the video and file. The block at the beginning of the video is created and everything is fine. When I insert the second one, it shows ###

0 Likes
Message 4 of 8

Moshe-A
Mentor
Mentor
Accepted solution

@kamil_pajakH724R ,

 

first for your knowledge 😀 the wonder of dynamic block is found in the block reference\insert (not in block definition)

in the first insert, the the link to linear parameter "distance1" is done on the attribute and each insert you have to

define it again for each insert. what you specified in the block definition is no use for the block reference\insert

 

does that answers your issue?

 

Moshe

 

0 Likes
Message 5 of 8

kamil_pajakH724R
Contributor
Contributor

Thanks for the clarification. It doesn’t solve my problem, but it helps me understand it. How can I make it work then?

0 Likes
Message 6 of 8

Moshe-A
Mentor
Mentor

@kamil_pajakH724R ,

 

Well some time understanding the problem is 50% a way from solution 😀

if setting each insert is not a solution then what solution you are expecting?

 

Moshe

 

 

 

0 Likes
Message 7 of 8

kamil_pajakH724R
Contributor
Contributor

I just don't want to have to reset the field every time I insert a block.

0 Likes
Message 8 of 8

kamil_pajakH724R
Contributor
Contributor
Accepted solution

Okay, I don't know if this is what you meant, but I set the field reference not to the parameter but to the line length and now it works. Thank you!

0 Likes