Redefining dynamic with hatch

Redefining dynamic with hatch

leticia.campanelli
Advocate Advocate
859 Views
10 Replies
Message 1 of 11

Redefining dynamic with hatch

leticia.campanelli
Advocate
Advocate

Hi there,

 

I am wondering if there is a setting to avoid the messing up the hatches in the dynamic blocks once they are redefined.

before redefined

leticiacampanelli_1-1717411535113.png

 

After

As you can see below, the lines are ok but the hatches are all over the place.

 

leticiacampanelli_0-1717411323111.png

 

thanks

 

0 Likes
Accepted solutions (1)
860 Views
10 Replies
Replies (10)
Message 2 of 11

j.palmeL29YX
Mentor
Mentor

1: The hatches must be assoziative. 

2: I'd prefer to choose object(s) (instead of picking inside ) to create the hatch(es). 

 

Both we can not see in your images. 

For more (better) help post your dwg file please.

 

BTW: What do you mean with "redefined"?

Jürgen Palme
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

0 Likes
Message 3 of 11

leticia.campanelli
Advocate
Advocate

The hatches are associative, but I picked the inside.

 

the block works fine, I added a new visibility state needed to redefine using the Design center/blocks - that is when the problem happened.

leticiacampanelli_0-1717421587645.png

 

I choose redefine to add the new visibility state - it change the hatch.

I can do it manually one by one after...but it is time consuming - As you can see above I have 72 instances in this particular file.

 

see file attached.

0 Likes
Message 4 of 11

j.palmeL29YX
Mentor
Mentor

As a first attempt I would remove all hatches from all actions's selection sets where they are included.

Furthermore I find two hatches which fill the default rectangle. I'm not sure if you really need both (?). 

 

(untested)

 

Jürgen Palme
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

0 Likes
Message 5 of 11

Ed__Jobe
Mentor
Mentor

@leticia.campanelli wrote:

I choose redefine to add the new visibility state - it change the hatch.

I can do it manually one by one after...but it is time consuming - As you can see above I have 72 instances in this particular file.


Can you use a previous version? Find the bak file? Or if you haven't saved the host file yet, click undo.

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 6 of 11

leticia.campanelli
Advocate
Advocate

I just want t make sure the hatch updates with the lines as it is an associative hatch, I don't understand why it doesn't.

0 Likes
Message 7 of 11

j.palmeL29YX
Mentor
Mentor

I think this is a bug. If you redefine a block definition which contains one or more hatches, the hatches are not updated automatically. Not the new visibility state causes the problem. Each simple modifying of the block definition leads to this trouble.

The only solution I found. Select each existing blockreference, pick one of the dynamic grips, move a little but place it again at the same point. This updates the hatch and all is "fine" (but with a lot of work to do that).

Jürgen Palme
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

0 Likes
Message 8 of 11

j.palmeL29YX
Mentor
Mentor
Accepted solution

I found a way to update all block references at once.
After you have redefined the block definition in your current drawing (and see the not updated hatches), open the blockeditior to edit the blockdefinition in your current file. Change nothing, but save the block definition again. After leaving the blockeditor all block instances are updatetd correctly.

If you need I'd like to show you a video ...

Jürgen Palme
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

Message 9 of 11

leticia.campanelli
Advocate
Advocate

that is what I have been doing, it is just annoying.

0 Likes
Message 10 of 11

leticia.campanelli
Advocate
Advocate
Thanks! That works well.
0 Likes
Message 11 of 11

TomHia
Advocate
Advocate

@j.palmeL29YX wrote:

I found a way to update all block references at once.
After you have redefined the block definition in your current drawing (and see the not updated hatches), open the blockeditior to edit the blockdefinition in your current file. Change nothing, but save the block definition again. After leaving the blockeditor all block instances are updatetd correctly.

If you need I'd like to show you a video ...


I can confirm both - the bug exists and this is the way to deal with it.

 

Thank you! I'd like to point out, that I had to edit/save the block definition twice to "fix" every instance. Part of the drawing was not updated after first edit.

 

0 Likes