Might someone here be able to take a look at the attached LISP routine, which runs successfuly in 2002, to identify why it doesn't run in 2009? (I am a rank rookie when it comes to AutoCAD, and LISP in particular.)
The attached LISP routine was written by a user, long gone, to restore titleblock text attributes (size, font, position, etc) and to populate a field in the upper left corner of the drawing border, based on the contents of a title block field.
When I run the command in 2009 it clears the contents of the titleblock, replacing the information in each attribute field with an asterisk.
More strangley, the command is successful in 2009 under the following circumstance:If I place a border in Drawing1.dwg and DON'T SAVE IT, then populate the titleblock fields, I am able to run the command and see the field in the upper left corner of the drawing border receive information from the 'associated' field in the title block -- just as in 2002. However, once I save Drawing1.dwg as an actual file and run the command again, the title block gets hosed. The following error appears in the command window:
Searching for block TITLE_BLOCK ...Found block TITLE_BLOCK ...; error: no function definition: FLD.
I am in the process of trying to figure out what 'no function definition: FLD' means..
The attached ZIP contains a sample drawing file, the LISP routine, and a docx file with additional information. Any help is appreciated. RETITLE.zip
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
-Mike Kapnisakis, Warner Bros
With your subscription - you'll gain access to our exclusive IT community of thousands of IT pros. You'll also be able to connect with highly specified Experts to get personalized solutions to your troubleshooting & research questions. It’s like crowd-sourced consulting.
We can't always guarantee that the perfect solution to your specific problem will be waiting for you. If you ask your own question - our Certified Experts will team up with you to help you get the answers you need.
Our certified Experts are CTOs, CISOs, and Technical Architects who answer questions, write articles, and produce videos on Experts Exchange. 99% of them have full time tech jobs - they volunteer their time to help other people in the technology industry learn and succeed.
We can't guarantee quick solutions - Experts Exchange isn't a help desk. We're a community of IT professionals committed to sharing knowledge. Our experts volunteer their time to help other people in the technology industry learn and succeed.