本帖最后由 sfzyr 于 2022-7-12 03:59 编辑
- (defun c:dra ( / code)
- (saverror)
- (setq ent (entsel "选择圆弧或圆:"))
- (setvar "cmdecho" 1)
- (command ".dimradius" ent)
- (while (wcmatch (getvar "cmdnames") (strcase "*dimradius*"))
- (command pause)
- )
- (restore)
- (princ)
- )
当圆对象在块中,可以先dimradius,能选择,先选择,后用 (command ".dimradius" ent),如何实现??
|