Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi dear.
First edit object, then add strike-through old text of dimension, conclude new text and old text.
(defun c:strikedim ()
(setq ent_name (car(entsel "select dim")))
(setq ss (entget ent_name))
(setq text (cdr (assoc 42 ss)))
(setq text_old (strcat "\\K" (rtos text)))
(setq text_new (strcat "<>" " " text_old))
(command "dimedit" "e" text_new ent_name "")
)
Solved! Go to Solution.