GstarCAD 2027 · Command Reference
Commands > D Command > DCHORIZONTAL
Function Description:
Constrains the X distance between points on an object, or between two points on different objects.
Command Access:
Icon:

Menu Item: Parametric(P) > Dimensional Constrains(D) > Horizontal(H)
Ribbon: Parametric > Dimension > Horizontal
Toolbar: /
Command Line: DCHORIZONTAL
Command Alias:/
Command Prompts:
Specify first constraint point or [Object(O)]: Specifies the first point of the object to be constrained.
Specify second constraint point: Specifies the second point of the object to be constrained.
Operation Steps:
1、Select both ends of the horizontal line as shown to add horizontal constraints.
2、The horizontal distance between the object's endpoints is constrained.

Article ID: 4327
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/dchorizontal-command-gstarcad-2027-4327.html