G.Aquarius Posted March 19 Share Posted March 19 (edited) Hello, New to LISP here. I was writing a program and I need it to: (1) identify old title blocks by name -> (2) Gather some attribute data and temporarily store it -> (3) purge the drawing -> (4) paste in new blocks -> (5) populate new title block attributes. got steps 2, 3, and 5 all good. For step 1, I'm using entsel to ask the user to select the block, but I need to make sure they select the correct one. I can use the name of the block as a check because it's unique. Can someone help me with the code for this? (setq obj1 (car (entsel "\nSelect the title block:"))) -> this is what I use to ask the user to select the block and then use obj1 to get attributes. Thanks. Edited March 19 by G.Aquarius Quote Link to comment Share on other sites More sharing options...
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.