Why would a LISP work fine in one drawing but NOT in another, on the same PC?

Why would a LISP work fine in one drawing but NOT in another, on the same PC?

Anonymous
Not applicable
1,197 Views
3 Replies
Message 1 of 4

Why would a LISP work fine in one drawing but NOT in another, on the same PC?

Anonymous
Not applicable

Ok, so I've been working with a developer on getting a LISP that will automatically place lines inside a block on different layers.  His first submitted draft works great, just like it's supposed to...but only in the file I sent to him.  The minute I try his LISP routine on a block in a different drawing file, the darn LISP doesn't work AT ALL! A block is a block is a block, how in the world could this be happening???  I've even copied THE SAME BLOCK into a different file, and STILL nothing.

 

I can't attach the LISP here, it's protected (he'll give me the code once we agree that the finished product works).

 

Is there some crazy way that AutoCAD wraps each block in each drawing file with some kind of tag/info that potentially interferes with custom LISPs??

 

 

0 Likes
Accepted solutions (1)
1,198 Views
3 Replies
Replies (3)
Message 2 of 4

dbroad
Mentor
Mentor
This is a question you need to ask your developer
Architect, Registered NC, VA, SC, & GA.
0 Likes
Message 3 of 4

Anonymous
Not applicable
Accepted solution

doggone it...I didn't have all the layers in the new drawing, and his LISP wasn't auto-creating them if they didn't exist.  Whew.  This whole process is truly an extreme love-hate relationship.

0 Likes
Message 4 of 4

stevor
Collaborator
Collaborator

If  'A block is a block is a block'

then there would only one block

in the world, and no need for

block names, creation, etc.

If not, you need to do the job yourself,

as there is ample material,

or, like DBroad said: the developer.

S
0 Likes