I have a lisp routine that extracts attributes from a block named "waverage" and displays the values in a dialog box.
The attributes values can be updated in the dialog box
This works fine in the original drawing file this blocks resides in.
If I copy and paste the block in a new drawing file, the routine does not work.
If I "save as" the original drawing file the routine works fine.
In the original file I can change the block name and the routine works fine (provided the lisp reflects the changed blockname)
It has me stumped.
Would appreciate if someone could have a look at this and offer some insight.
Solved! Go to Solution.
Solved by leothebuilder. Go to Solution.
Tested in an old AC2010, without problems...
How is the routine being loaded?
If you load the routine in the dwg where the block was pasted, don't work?
Henrique
That's correct, if I load the routine in a file where the block was pasted it won't work at all. No error message, nothing.
I've loaded thru Appload as well as drag and drop the lisp file into the open draing.
Which AutoCAD version?
EDIT:
Also tested in 2012 and 2014 without problems.
Is the .dcl in one of the Support File Search Paths?
If not, when we start a new dwg, AutoCAD can't find the .dcl.
Henrique
Well....I must be losing it, I did not place the dcl file in the search path.
Thanks for suggesting the solution!