Is there a way to a link or chain actions within a block

Is there a way to a link or chain actions within a block

fraser.whyte
Participant Participant
1,229 Views
8 Replies
Message 1 of 9

Is there a way to a link or chain actions within a block

fraser.whyte
Participant
Participant

I have created a block in AutoCAD of an excavator with multiple moving parts and I want to know if there is a way to link the parameter / actions so two type of actions can work together.

 

The model I have attached only has two moving parts:

1. The arm     -    rotation

2. the piston -    polar stretch

 

They both have different rotation points which need to remain the same. I am moving the two parts independently and I want to know if I can link the second Polar-stretch grip with the rotation action. reducing my workload etc

0 Likes
Accepted solutions (1)
1,230 Views
8 Replies
Replies (8)
Message 2 of 9

MMcCall402
Mentor
Mentor

Um, no model attached.

 

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

0 Likes
Message 3 of 9

fraser.whyte
Participant
Participant

Here is the dwg

0 Likes
Message 4 of 9

MMcCall402
Mentor
Mentor
Accepted solution

The issue it that the polar distance 3 for the hydraulic cylinder needs its grip moved in a arc around the same center point as the boom.  A stretch acting is needed to move just that end of the parameter, but a rotation action, like the one that rotates the boom won't accept a stretch action.  You can facilitate this by putting in a Point parameter with a stretch action.  Set the rotation parameter to rotate the point parameter and the point parameter's stretch action to stretch the polar distance parameter.  Set the Point and Polar distance parameters chain setting to Yes. The result is a stretch along an arc.

 

MMcCall402_0-1709822315657.png

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

Message 5 of 9

MMcCall402
Mentor
Mentor

Fun block.  I'd like to see it when its done.

 

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

0 Likes
Message 6 of 9

fraser.whyte
Participant
Participant

Hi 

I tried to follow your tasks to duplicate what you did but the rotation point for the piston base keeps on moving. 

 

Is there a way you can attach a video or step by step images.

 

Thank you for you help

 

Fraser

0 Likes
Message 7 of 9

MMcCall402
Mentor
Mentor

Not able to do a video right now.  Work thing.

 

The process I used was to make a point parameter with a stretch action. Make the stretch action window over just the end of the polar parameter to be moved and then select the polar parameter as the action set.  Set the polar parameter's property for chain action to Yes.   Test this.  The point parameter should now operate that end of the polar parameter.

 

Next, edit the selection set for your current rotation action to include the point parameter.  Then set the point parameter's chain action setting to yes.

 

This sets up a two step chaining of actions.  The rotation action rotates the point parameter that in turn stretches the the polar parameter.  The end result is a rotational stretch around a point that's different than the polar parameter's other end.

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin

0 Likes
Message 8 of 9

fraser.whyte
Participant
Participant

Thank you, I have got it to work. I am experience some issues with the grips on the piston / polar stretch misaligning once out of the block editor. 

So the piston rotation points are in a different location. It remains in the correct place within the block editor

0 Likes
Message 9 of 9

MMcCall402
Mentor
Mentor

Sometimes you need to reinsert a fresh instance of the block for it to take on the changes that have been made and operate correctly.

 

 

Mark Mccall 
CAD Mangler


EESignature


VHB - Vanasse Hangen Brustlin, Inc.


Linkedin