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

    GstarCAD Deep Dive: What Really Happens Inside a CAD Block?

    Blocks are everywhere in CAD. A door symbol. A bolt. A valve. A title block. A machine component. At first glance, a block may look like several drawing objects simply…

    GstarCAD Deep Dive: How Multiple Top-Level Windows Change Multi-Drawing Workflows

    CAD work rarely happens in just one drawing. An engineer may keep a current design open while referring to an earlier revision. A mechanical designer may copy standard details from…

    Leave a Reply

    Don't Miss out

    GstarCAD Deep Dive: What Really Happens Inside a CAD Block?

    • September 29, 2026
    GstarCAD Deep Dive: What Really Happens Inside a CAD Block?

    GstarCAD Deep Dive: How Multiple Top-Level Windows Change Multi-Drawing Workflows

    • September 23, 2026
    GstarCAD Deep Dive: How Multiple Top-Level Windows Change Multi-Drawing Workflows

    Gstarsoft and AppliCAD Launch GstarSolutions Thailand, Deepening Their Partnership in the Thai Market

    • September 21, 2026
    Gstarsoft and AppliCAD Launch GstarSolutions Thailand, Deepening Their Partnership in the Thai Market

    Modernizing Without Disruption: What European SMEs Can Learn from SNIE’s Experience

    • September 18, 2026
    Modernizing Without Disruption: What European SMEs Can Learn from SNIE’s Experience

    GstarCAD Mechanical 2027: Smarter Workflows, Better Compatibility

    • September 15, 2026
    GstarCAD Mechanical 2027: Smarter Workflows, Better Compatibility

    AI Rendering Workflow: How GstarRender Improves Design Visualization

    • September 8, 2026
    AI Rendering Workflow: How GstarRender Improves Design Visualization

    Discover more from Gstarsoft's Blog

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

    Continue reading

    Discover more from Gstarsoft's Blog

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

    Continue reading