Message 1 of 49

Not applicable
09-06-2016
02:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm brand new to the forums and to Visual LISP, so forgive me if this is in the wrong area or if I seem a bit lost.
I'm working in Carlson/Civil 3D and I'm trying to write a LISP that lets me select some polylines and then it sets them to the zero elevation and reduces the vertices. However, every time I try to call the LISP in the command line, it says "unknown command '3dto2d'". I know 3dto2d is a valid command in Carlson, so I assume I'm missing something in my code to make it look there. Any help would be greatly appreciated.
(DEFUN C:ZR () (setq ss (ssget)) (Command-s "._3dto2d" "0" ss "") (Command-s "._reduce" "5" ss "") (princ) )
Thanks,
Mike
Solved! Go to Solution.