Remlapw Posted July 17, 2012 Share Posted July 17, 2012 I would like to know if it is possible to have a single attribute fill multiple strings of text. I have text that appears in more than one spot in a block of mine but when inserting the block i would like to be prompted once to fill the attribute. Is this possible? If so, how is it done? Regards, Remlapw Quote Link to comment Share on other sites More sharing options...
BIGAL Posted July 18, 2012 Share Posted July 18, 2012 Search for lisp + insert block, a basic lisp thats asks for attribute values first then inserts then populates the attributes accordingly. Somethinkg like [b]UNTESTESTED[/b] (setq att1 (getstring "\nEnter attribute 1 detail")) (setq att3 (getstring "\nEnter attribute 3 detail")) (setq att2 "Project num") (setq pt (getpoint "\n Pick point")) (command "insert" Myblock pt 1 0 1 1 att1 att2 att3) (princ "all done") 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.