I am working with some code from another lisp, (credit Jeffrey Sanders), and I am wanting it to do something if it comes across blocks containing attributes w/ tag "model#". So far I have gotten two results, syntax error, or my computer locked up until I close autocad via task mgr. (think routine was caught in a loop), although I don't have the copy where it locked up.
The overall picture for this routine would be to get these models and the numbers associated w/ them (in the fields), run some calcs, and put it in table format inside autocad, however this is just the first step, I'm new to LISP.
I thought about just getting the data and exporting it to Excel into a template already set up, but so far it looks like it would be easier to keep it all in autocad.
I've looked around on the lisp forums through numerous posts but it hasn't clicked with me, so here I am! Here is the drawing and block I am testing with.
Oh, side note. I work with DB's, and if anyone can offer insight on how to get the real name of the block, not *U##, through lisp, I have been playing with that as well. The latest I have read about, but not played with yet, is getting it via properties as the real name is listed there, or vla-get-effective name??