_Dynamic Block Creation - Linear Stretch


Dynamic Block Creation (Linear Stretch)
For example, during mechanical design, we often need to change the position as well as the dimension of the keyway. In this section, we will add a Linear stretch function for the keyway on the step shaft.
1. Add the Linear Parameter:
Add linear parameter to object as shown below:

2. Add Stretch Action:
Click stretch action button on the action panel, choose parameter according to prompt and define right grip as key parameter point, as shown in the below picture.

 


Blacken object is the operational object of the action, broken line frame is the stretch frame, objects intersect with stretch frame will be stretched, objects which be selected by stretch frame will move.
3. Test Dynamic Block:
Exit from block editor, drag stretch grip to stretch the keyway, as shown in the below picture.

 


Related tutorial video:

 

 

Above video sources from TUTORIAL - GETTING STARTED WITH GSTARCAD, enrol now for free.

 

 



Article ID: 1276
Created: November 13, 2019
Last Updated: April 15, 2022
Author: kbadmin

Online URL: https://www.kb2.gstarcad.com.my/article.php?id=1276