Dynamic block stretch after flip

Dynamic block stretch after flip

stefano_sani2
Explorer Explorer
498 Views
9 Replies
Message 1 of 10

Dynamic block stretch after flip

stefano_sani2
Explorer
Explorer

Hello everyone! I've been working on a dynamic block for a door elevation but I'm having a problem when stretching the handle after flipping it from the left side to the right.

 

The BACTIONBARMODE is set to 0 and the HandleStretch action is added to the Flip selection set, but it's still stretching in the wrong direction when flipped. I read about every post on this topic in the forum but I couldn't find how to fix this.

 

Can anyone please help me find what I'm doing wrong? The dynamic block is attached

 

Thank you in advance!

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

h_s_walker
Mentor
Mentor

I would move the flip to the edge of the door frame, and flip the whole door instead of just the handle

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

j.palmeL29YX
Mentor
Mentor

Try the attached suggestion. 

 

 

 

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

Libbya
Mentor
Mentor
Accepted solution

Here's a solution that is simpler than adding a visibility state and switching with a double-lookup.  

Message 5 of 10

stefano_sani2
Explorer
Explorer

Hi @h_s_walker, that would work but you would need to move the block every time the flip is triggered because it wouldn't flip in place, right?

If possible it would be better to have it flip in place

0 Likes
Message 6 of 10

stefano_sani2
Explorer
Explorer

Hi @j.palmeL29YX, this works fine, thank you. However I would prefer to avoid using visibility states for this. I'm planning on using visibility to switch between several door types, so it would not be ideal if I have to create and setup a "left" and "right" version for each type

0 Likes
Message 7 of 10

Libbya
Mentor
Mentor

Helloooooo!?!  I posted a block that does it exactly the way you want (does not use visibility states) and you ignored my post.

0 Likes
Message 8 of 10

stefano_sani2
Explorer
Explorer

Hi @Libbya, sorry for the late response. Your block works perfectly. Thank you very much!

 

It's embarassing I had spent a couple of hours before trying to implement this exact solution following a screencast you posted in a similar topic and never managed to get it to work correctly lol. I took some time to answer because I was busy figuring out what I was doing wrong.

 

However I just realized that the issue might lie somewhere in my DWG. I noticed that some angle offset values change when I paste the block in a new blank file. After I set them back to the correct values the block works fine.

 

It seems that when I create a block in my original drawing the block rotation is set to 90 degrees (instead of 0), which apparently interferes with the angle offset of some actions.

 

Does anyone know if there is a setting to make newly created block have a rotation of 0 degrees instead of 90?

In any case, thanks again @Libbya 

0 Likes
Message 9 of 10

Libbya
Mentor
Mentor

My best guesses without looking at the file would be an issue with the units for angles or an issue with the UCS.

Message 10 of 10

stefano_sani2
Explorer
Explorer

Okay, I will do some research on those things

0 Likes