Using Autocad Parametrics to change a drawing of a window

Опубликовано: 18 Май 2026
на канале: bilroCAD
1,533
2

This demo shows that you can quickly change a drawing of a standard item such as a 2 panel sliding door. It does this by a very simple lisp routine (see below), to alter the parametric dimensions that control the geometry. Notice that the dimensions you can see in the demo do change, because they are associative, that is, they are attached to the geometry.
Here is the lisp routine:
(defun c:widd()
(setq the_new_width (getreal "Enter the new width"))
(command "-parameters" "e" "d7" the_new_width)
(princ)
)
As you can see it is very straightforward: it gets the new width, then issues a command line version of the parameters command.