Message 1 of 3
New to LISP - trying to debug someone elses code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to figure out why our lisp is failing, I have coding experience, but next to no experience with lisp..
I've narrowed it down to this line:
(setq sset1 (ssget "C" (polar pt21 (* pi 0.25) 0.05) (polar pt11 (* pi 1.25) 0.05) (list (cons 0 "insert")(cons 2 "VPL_Frame_*"))));;; select current and adjoining frames
I understand this is creating a selecection set, based on the points in the ssget, but what does the last bit do? (list (cons 0 "insert")(cons 2 "VPL_Frame_*"))
The code loops through selecting the frames we place in drawings, but the code regularly falls over on a partivular frame at this line, I have no idea what makes it stop on a particular frame, when the frames beforehand work fine...
Hopefully someone can shed some light on what the code is doing to point me in the answers direction.
Cheers,
Kyle.