Attributes not working - showing ###

Attributes not working - showing ###

materna28PX3
Explorer Explorer
468 Views
9 Replies
Message 1 of 10

Attributes not working - showing ###

materna28PX3
Explorer
Explorer

Hi,

 

I'm having a similar issue to this thread, tried to use the WBLOCK command and it worked well, but only for a block without attributes.

I have a dynamic block consisting of a multiple doors with an attribute showing me the actual width of a door. When I do the whole WBLOCK process, block will update, but the attribute goes ###, ATTSYNC nor the BATTMAN works. Do you have any idea what could be wrong?

 

Thank you

@materna28PX3 Hi, your post has been moved and the title modified to improve findability, by CGBenner.  Good luck!

0 Likes
Accepted solutions (1)
469 Views
9 Replies
Replies (9)
Message 2 of 10

cadffm
Consultant
Consultant

Hi,

could you share both drawings?

Original one with the old block (create a copy and delete all except one blockreference of this block, if needed)

and your (w)Block .dwg.

 

 

Sebastian

Message 3 of 10

materna28PX3
Explorer
Explorer

Sure, I'll post only the block itself. 

 

The only change is in the second visibility state named "Schématické s prahem" with a global width of a door changed. 

Even in the blank new drawing with an old block inserted, when I try to redefine the block with a WBLOCK command and hit the REGEN, the width attribute stops to work.

0 Likes
Message 4 of 10

cadffm
Consultant
Consultant

Can someone check the data? I am in holiday now.

Sebastian

0 Likes
Message 5 of 10

h_s_walker
Mentor
Mentor

@materna28PX3 Do not use WBLOCK when it's already a block.

If you want to insert it into another drawing use DESIGNCENTER (ADC at the command line) or stick it into a tool palette and then you can drag and drop it from there.

Doing a regen on both your "old" drawing and your "new" drawing updates the width of the door.

 

EDIT: For work I have all my blocks in one "container" drawing and then I created a tool palette with those blocks in it. Then all I need to do is drag the block from the palette into the  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

Message 6 of 10

materna28PX3
Explorer
Explorer

Thank you for your replay.

 

I tried to use a design center in the first place, but the issue is in the width attribute, the block itself updates, but when it does, the width attribute showing the width of the door goes "###". The REGEN command, nor the ATTSYNC or BATTMAN does nothing.

materna28PX3_0-1752043879063.png

 

EDIT:

The problem isn't in the inserting the block to a new drawing, but in the updating the block in the older drawing. I have around ten another drawings with the old version of the block and I need to update the old one to a new version.

 

0 Likes
Message 7 of 10

h_s_walker
Mentor
Mentor

If you need to update the old one to the new one, that's easy as long as they both have the same name

See my post in the link below

Solved: Re: Block not updating - Autodesk Community

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 10

materna28PX3
Explorer
Explorer

Yes, that is exactly what I tried to do. As a matter of fact, I tried to use design center, then I tried to use a WBLOCK, but as I wrote, the block itself will actually update, but the attribute within the block stops working (instead of a value showing width it shows ###).

The attribute not working after an update is what bothers me.

0 Likes
Message 9 of 10

h_s_walker
Mentor
Mentor
Accepted solution

@materna28PX3 

Ah looking at your block I've found the problem. You've put the field in an attribute. Don't put it in an attribute, just insert a field into the drawing which references the length of the line.

See the attached drawing.

 

EDIT: Sorry do you want the field in an attribute?

 

 

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 10 of 10

materna28PX3
Explorer
Explorer

Of course! It doesn't have to be an attribute, never thought about it this way, thank you 🙂 Now it works perfectly.