Message 1 of 27

Not applicable
12-17-2020
11:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
(defun C:C1 ()
(setvar "cmdecho" 0)
(setq osm (getvar "osmode"))
(setq e (car (entsel "\nSelect chamfer:")))
(setq f (entget e))
(setq s (cdr (assoc 10 f)))
(setq s1 (cdr (assoc 11 f)))
(setvar "osmode" 0)
(command "dimlinear" "" s s1 "")
(setvar "osmode" osm)
(setvar "cmdecho" 1)
(princ)
)
-------------------
Hi,
I am trying to change new command for my calling chamfer dim that I have to calling out a lot of dimensions of chamfer corners everyday. I tried lisp above and it only can choose one edge and calling out dimension by one direction. I wish I can choose an area, enter and then all chamfer corners will be dimensioned by Dimlinear or Quickselect command.
Thank you.
Solved! Go to Solution.