Deleting Dimensions from the Command Line
Deleting Dimensions from the Command Line
(OP)
Hi, first timer here.
I have somebody asking me whether or not it's possible to delete dimensions using a command in the command line.
And if so, how do you do it?
thanks for any help you can offer.
I have somebody asking me whether or not it's possible to delete dimensions using a command in the command line.
And if so, how do you do it?
thanks for any help you can offer.





RE: Deleting Dimensions from the Command Line
Your question is not clear. If you want to delete
dimension blocks, the ERASE command can be used. Otherwise,
you should specify exactly what do you want to delete.
Regards,
Farzad
RE: Deleting Dimensions from the Command Line
RE: Deleting Dimensions from the Command Line
To delete all dimension blocks, you can enter the "ERASE"
command and type the below expression at the
"Select objects:" prompt and press ENTER two times.
(ssget "x" '((0 . "dimension")))
Notice to enter spaces same as above expressions.
Regards,
Farzad
RE: Deleting Dimensions from the Command Line
file deldim.lsp, containing
(defun DelDim()
(command "ERASE" (ssget "x" '((0 . "dimension"))) "")
)
or something like that.
RE: Deleting Dimensions from the Command Line
That is a good idea. The AutoLISP source file can be
load by startup suite in APPLOAD dialog box.
Regards,
Farzad