- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I want to change the current chamfer command by using autolisp below. But i am facing with a problem.
When I join the lines, If lines are separeted, it only chamfers the last object as command below.
After joining objects, It can create 1 or 2 or 3.......polylines. And the last polyline wil be chamfered only. There any way to chamfer all polyline objects that created after "Join" command? and explode all polyline objects After chamfered?
Thank you!
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun C:CHÀ ()
(setq A (ssget "_:L" '((-4 . "<and") (0 . "*LINE")(-4 . "and>"))))
(command "join" A "")
(setq B (entlast))
(command "chamfer" "P" "d" pause pause B "")
(setq C (entlast))
(command "explode" C "")
(princ)
)
;;;;;;;;
Solved! Go to Solution.