Jump to content

rotate action - dynamic block question


Recommended Posts

Posted

I'm playing with dynamic blocks and I followed an example in Mastering AotuCAD creating a door with stretch and flip with no problems.

 

Now I want to add a rotate action so I can open / close the door. Rotating the door works fine, but how can I get the 'swing arc' to follow the door?. I would like the arc to end where the door is.

Including the arc in the rotate objects doesn't work as it (of course) just rotates the arc instead of changing then ending angle.

 

Any suggestions ?

door.jpg

doorblock.jpg

Posted

>> Havent tried this yet but will do later but try to give the arc a stretch action.

 

I did attempt that but I can't assign a stretch action to a rotate parameter.

Posted

yea just tried it and it dont work so i deleted my post :D

ill have a look into this further.

but i wont promise ill get a solution coz this is a tough one

Posted

i have inserted the thing you need, do these drawing help you?:geek:

Posted

if it doesn't satisfied you.. try to insert your file and we'll try to modify it okay.

Posted

I can't wait to get to work to check mugshot's solution - we have discussed this several times here and so far nobody has been able to do it.

Posted

alas i give up on this one;

I got close using a Polar Parameter + Polar stretch action, problem is the arc wont stretch,,, it just moves with the action point. :D

I was also thinking of wipeout instead to hide the arc while the door swings but i think that would be cheating :twisted:

I hope someone could get this.

Posted

is it the arc is the main problem? if you stretch the door, so as the arc, isnt it? i think i've figured it out....:huh:

Posted

yes the arc is the problem. you could rotate the door leaf to any position, the problem is the arc will not stretch normally along with the door leaf.

Posted
  nocturne00 said:
alas i give up on this one;

I got close using a Polar Parameter + Polar stretch action, problem is the arc wont stretch,,, it just moves with the action point. :D

I was also thinking of wipeout instead to hide the arc while the door swings but i think that would be cheating :twisted:

I hope someone could get this.

Go ahead with the wipeout - I haven't got it to work yet!
Posted

now it does...:lol::lol::lol:... the problem on what they did is the order of parameter and parameter set....:roll:

Posted

:twisted:

Here's a try with the wipeout thing, but i wouldnt really recommend it, its a bit ..... unnatural :lol: :lol: :lol: .

but at least I learned something out of this, i didnt know that wipeouts dont work on objects with arcs(bummer)

problems perhaps on this one will have to be on draw order for the wipeout.

00.dwgFetching info...

Posted
  mugshot said:
now it does...:lol::lol::lol:... the problem on what they did is the order of parameter and parameter set....:roll:

 

Would you mind posting it so we can check

Posted

:shock:i guess i didn't read the mid part of the question...

Posted

thanks, the wipeout solution provided by nocturne works, not sure it is the most elegant solution, but at least it works.

 

I hoped there was some 'EditAction' I had missed where you could hook up a EndAngle property of an arc to the diff of the rotation angle - or something, but I guess not.

 

Anyway, thanks everybody.

 

Jesper

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...