- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
iam using below mentioned code for divide option.but iam getting the point style only. I need to place "selected block" instead of point style.
(defun c:div ()
(setq val (getint " no of POINTS"))
(setq val (* 2 val))
(command "divide" pause val)
(setq ss (ssget "p"))
(setq co 1)
(setq len (sslength ss))
(repeat len
(setq en (ssname ss co))
(setq det (entget en))
(entdel en)
(setq co (+ co 2))
)
)
Solved! Go to Solution.