Impact Factor (2025): 6.9
DOI Prefix: 10.47001/IRJIET
Vol 9 No 6 (2025): Volume 9, Issue 6, June 2025 | Pages: 149-157
International Research Journal of Innovations in Engineering and Technology
OPEN ACCESS | Research Article | Published Date: 23-06-2025
In CAD systems, the integration of parametric functionalities can provide practical benefits. This is evident in AutoCAD. In this paper, a bidirectional constraint implemented in AutoCAD is understood as a constraint between variables such that when any one variable changes, the other variables involved are automatically adjusted by AutoCAD to maintain the constraint.
Based on the rich set of equality and inequality relations in planar geometry, it is possible to construct a library of base blocks. Each base block contains a geometric figure that realizes a specific constraint among the lengths of certain Line objects. This paper presents a method for supplementing AutoCAD with commands to coordinate the base functions, which automatically insert the necessary base blocks, decompose the resulting objects, and add supplementary constraints. As a result, it is possible to ensure the desired bidirectional constraints in the form of equalities or inequalities of the lengths of Line objects in the drawing.
Additionally, there are commands to manage the created constraints, such as displaying the symbolic form of the constraint, identifying the participating objects, and removing constraints. The described method is also useful when a complex constraint can be replaced by a system of constraints available in AutoCAD, along with the types of constraints introduced here.
AutoCAD, parametric constraint, geometric constraint, dimension constraint, VBA macro, bidirectional constraint, unidirectional constraint
Pham Tuan Anh. (2025). Enhancing AutoCAD with the Ability to Create Bidirectional Equality and Inequality Constraints on Line Segment Lengths. International Research Journal of Innovations in Engineering and Technology - IRJIET, 9(6), 149-157. Article DOI https://doi.org/10.47001/IRJIET/2025.906019
This work is licensed under Creative common Attribution Non Commercial 4.0 Internation Licence