Dynamic Block Creation (Distance Multiplier)

Take step shaft as an example, if we stretch the left part of the step shaft and the keyway still is at the center point of smaller diameter shaft after stretching. As the following picture shows:

Then, we use “Distance Multiplier” property of action to achieve the aim.

1. Add Linear Parameter and Stretch Action for Step Shaft: 

Hide right grip of parameter point, action stretch box is as the following picture, the bolded object is action operation object.

2. Add Move Action for keyway: 

Select left grip of linear parameter when moving, stretching related parameter points. Move objects of action select the whole keyway, as the following picture.

3. Modify Distance Multiplier of Action: 

Select Move Action and modify the default value from 1 to 0.5 in the property of distance multiplier, save an exit block editor.

4. Test Dynamic Block: 

Stretch leftwards grip and with grip moving leftwards, the smaller diameter shaft will appear stretch effect, keyway also will move leftwards accordingly, meanwhile, keyway is in the center of smaller diameter shaft of step shaft all the time, as the following picture

Although Stretch and Move have a common parameter, but when Distance Multiplier of Move is modified as 0.5, the displacement of Move can only stretch 0.5 times of displacement.

  • GstarCAD Blog

    www.gstarcad.net

    Related Posts

    The Ultimate Guide to GstarCAD Mechanical 2026: The Future of Manufacturing Design

    GstarCAD Mechanical 2026 drafting/design software, covers all fields of mechanical design.

    How to Calculate CAD Area Quickly?

    As a CAD designer, are you frustrated by the cumbersome and error-prone manual CAD area calculation? GstarCAD offers multiple efficient CAD area calculation methods!

    Leave a Reply

    Don't Miss out

    Boost CAD Productivity with GstarCAD 2026’s XTP Import Feature

    • March 24, 2026
    Boost CAD Productivity with GstarCAD 2026’s XTP Import Feature

    Case study: How TopenTech Optimized Equipment Diagnostics and Field Productivity with GstarCAD

    • March 9, 2026
    Case study: How TopenTech Optimized Equipment Diagnostics and Field Productivity with GstarCAD

    The Ultimate Guide to GstarCAD Mechanical 2026: The Future of Manufacturing Design

    • January 30, 2026
    The Ultimate Guide to GstarCAD Mechanical 2026: The Future of Manufacturing Design

    GstarCAD 2026 DWG Comparison: Boost Design Efficiency

    • January 16, 2026
    GstarCAD 2026 DWG Comparison: Boost Design Efficiency

    How to Calculate CAD Area Quickly?

    • December 25, 2025
    How to Calculate CAD Area Quickly?

    Top 10 best floorplan design software in 2026 (2D&3D)

    • December 11, 2025
    Top 10 best floorplan design software in 2026 (2D&3D)

    Discover more from Gstarsoft's Blog

    Subscribe now to keep reading and get access to the full archive.

    Continue reading