PDA

View Full Version : Linking fields with lisp


keith_velishek
2006-11-14, 05:02 PM
Here's what I'm trying to do:

In our title block we have a rev number that I linked to update with the most current rev. We are going to be replacing the title block in the near future. I wrote a routine that takes the attributes from a model space title block and puts them into our new paper space title block. After I do all this I would like to have it set the link from the "rev number" attribute in the new title block to the "rev number" attribute in our revision block.

Right now I have to set these all manually when I run this routine. We have a lot of drawings, so I need to make this more efficient if possible.

If anybody could help that would be great!

Mike.Perry
2006-11-15, 11:13 AM
Hi

Have you seen the article "Two Worlds Collide: AutoLISP and Fields" by Lee Ambrosius in the Sep/Oct 2006 edition of AUGIWorld (http://www.augi.com/publications/default.asp?page=63)... I believe it should prove to be helpful / useful.

Have a good one, Mike

keith_velishek
2006-11-15, 04:19 PM
Yes that's close to what I am looking for. That helped a lot. Now if every object has a different object id, how do I get it to look for the same object in different drawings. The location of the objects never change, but they will have different id's for each drawing.