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 Linear stretch function for the keyway on the step shaft.

1. Add Linear Parameter: 

Add linear parameter to object as shown below:

2. Add Stretch Action: 

Click stretch action button on action panel, choose parameter according to prompt and define right grip as key parameter point, as shown in 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 below picture.


Discover more from Gstarsoft's Blog

Subscribe to get the latest posts sent to your email.

  • GstarCAD Blog

    www.gstarcad.net

    Related Posts

    Why Is My DWG File So Large and How to Reduce It Safely

    A DWG file can grow far beyond what its visible geometry seems to justify. Common causes include unused definitions, duplicate objects, imported content, empty text, zero-length geometry, registered application data,…

    What Is a DXF File? A Practical Guide to CAD Exchange

    A DXF file is a CAD drawing file used to exchange design information between software applications. DXF stands for Drawing Exchange Format. Autodesk introduced it so drawings could move between AutoCAD…

    Leave a Reply

    Don't Miss out

    Why Is My DWG File So Large and How to Reduce It Safely

    • November 11, 2026
    Why Is My DWG File So Large and How to Reduce It Safely

    What Is a DXF File? A Practical Guide to CAD Exchange

    • November 4, 2026
    What Is a DXF File? A Practical Guide to CAD Exchange

    What Is a DWG File? An Easy Guide for CAD Beginners

    • October 30, 2026
    What Is a DWG File? An Easy Guide for CAD Beginners

    What’s New in GstarRender: AI Architectural Visualization from Concept to Video

    • October 29, 2026
    What’s New in GstarRender: AI Architectural Visualization from Concept to Video

    GstarCAD Deep Dive: What’s New in Batch Plotting for 2027?

    • October 20, 2026
    GstarCAD Deep Dive: What’s New in Batch Plotting for 2027?

    Old Factory Renovation with AI Rendering: Reimagine Industrial Buildings with GstarRender

    • October 15, 2026
    Old Factory Renovation with AI Rendering: Reimagine Industrial Buildings with GstarRender

    Discover more from Gstarsoft's Blog

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

    Continue reading