dynamic block - grip position

dynamic block - grip position

Anonymous
Not applicable
2,456 Views
4 Replies
Message 1 of 5

dynamic block - grip position

Anonymous
Not applicable

Hello!

 

Currently I am working on a few blocks and want to make them dynamic. This is new territory for me.

 

I have a question regarding the parameter/action grips, in this case the Linear Grip

 

As seen on the Screencast, I have a very simple 2D tree block with two parameters. One for the stem diameter and one for the crown diameter.

Everything works fine!

 

But after changing a block parameter, its grip moves out of the desired position, what doesn't look very nice for my eyes.

 

I want the grips to be exactly on the edge of the stem/crown. I tried constraints which aren't working on parameters. Beyond that I have absolutely no idea how to do it.

 

Is that possible?

 

 

________________________________________

I've opened the attached file of this topic, but still don't get it

https://forums.autodesk.com/t5/dynamic-blocks/maintaining-dynamic-block-grip-position/m-p/6475291/hi...

 

Then I saw this Screencast, but that did not enlighten me either

https://forums.autodesk.com/t5/dynamic-blocks/controlling-grip-location-dynamic-block/m-p/7096420#M2...

 

 

 

 

 

0 Likes
2,457 Views
4 Replies
Replies (4)
Message 2 of 5

Libbya
Mentor
Mentor

If you tried to embed a screencast, it didn't work.  404 error.  

 

You might consider watching a few free youtube tutorials on dynamic blocks.  It might help you with the basics.  Because dynamic blocks are so powerful there is a bit of a steep learning curve to understanding how they work.   

 

You have the basepoint to grip distance less than the length of the parameter in both cases.  Your grip location is becoming skewed from the linework because of this.  Select each linear parameter in turn and go to properties to change its 'base location' to midpoint.  That will cause the linear parameter to stretch equally to each side of its midpoint.  Then move each of them so that their midpoints are at the center of the block at the origin.  After that select each scale action in turn, go to properties, change 'base type' to independent.  This will cause a new grip to appear at the scale action's previous base location.  Move that grip to the midpoint of the associated linear parameter (origin).  See screencast.

 

 

 

0 Likes
Message 3 of 5

MMcCall402
Mentor
Mentor

Simple fix, edit the linear parameter end location to coincide with the grip location.

 

 

image.png  

Mark Mccall 
CAD Mangler


EESignature


VHB - Engineering, Inc.

0 Likes
Message 4 of 5

Libbya
Mentor
Mentor

 


@MMcCall402 wrote:

Simple fix, edit the linear parameter end location to coincide with the grip location.  


Kinda sorta, except I believe they want to be able to enter diameter rather than radius.

0 Likes
Message 5 of 5

MMcCall402
Mentor
Mentor

Yeah, I see that now after reading your reply.

Mark Mccall 
CAD Mangler


EESignature


VHB - Engineering, Inc.

0 Likes