orange Posted April 20, 2011 Share Posted April 20, 2011 I've got a complicated problem, hope someone can help me with lisp. There is a block, close to it is a text (number stored as text). Lisp needs to convert text to number and assign it as attribute to *closest* block. Could it be done? Any help appreciated. Quote Link to comment Share on other sites More sharing options...
Grant Posted April 21, 2011 Share Posted April 21, 2011 You need to post this in the Lisp section!!! Yes I believe lisp can do all that. Depends on how far you want to go though. Do you pick the text and the block Do you pick the text and Lisp finds the block closest or Does lisp pick the text and find the block closest. The easiest is of course the top one and the hardest will be the bottom one. All depends on how you get Lisp to look for the block and/or text!!! Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 21, 2011 Share Posted April 21, 2011 (edited) what you want has basicly been done before search here for block edit lisps and I know I posted yesterday some code and it has the pick text code in it, you then just combine the two. Bit etxra search for "attribute tag" Better in lisp forum. Edited April 21, 2011 by BIGAL extra Quote Link to comment Share on other sites More sharing options...
fuccaro Posted April 21, 2011 Share Posted April 21, 2011 Thread moved in the Lisp forum Quote Link to comment Share on other sites More sharing options...
orange Posted April 21, 2011 Author Share Posted April 21, 2011 well it has to be done automatically for ALL blocks on given layer. oki, I'll do some searching. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.