# AUTOCONSTRAIN Command [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [A](Help%20System/GSTARCAD/2027/Commands/A/(A).md) ## Function Description: Applies geometric constraints to a selection set of objects based on orientation of the objects relative to one another. ## Command Access: Icon: ![](8051e6a77a5c44827348f53371829b4b9da3599680f60647a8dcfa1acc79526b.png) Menu Item: Parametric(P) > AutoConstrain(C) Ribbon: Parametric > Geometric > Auto Constrain Toolbar:/ Command Line: AUTOCONSTRAIN Command Alias :/ ## Command Prompts: ``` Select objects or [Settings]: Select the objects that you want to be geometrically constrained or display the Constraint Settings dialog box. ``` **Example:** 1、As shown in the figure, the drawing of geometric shapes is subject to geometric constraints. ![](352b20e7081ebb307a55a2e87e403e882f191142473bcb0d7f648fad2316b5d7.png) --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_A/AUTOCONSTRAIN.html) · © Gstarsoft Co., Ltd.