rodrigo_sjc_sp Posted August 13, 2013 Share Posted August 13, 2013 How to insert a block and its attributes? I did the following command (command "insert" (strcat BLOCKNAME) pause "" "" pause) More when I run the command and tags only appear explode if I do, is there any way to insert the block without having to blow to see the tags? Quote Link to comment Share on other sites More sharing options...
rodrigo_sjc_sp Posted August 13, 2013 Author Share Posted August 13, 2013 Examente it was, without exploding the block could not see TAGS Quote Link to comment Share on other sites More sharing options...
neophoible Posted August 13, 2013 Share Posted August 13, 2013 This is unclear. Did you resolve your problem? TAGS do not normally show up for the user when INSERTing, but rather the prompts. However, they do show up under Properties and in the Enhanced Attribute Editor. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 13, 2013 Share Posted August 13, 2013 Assuming I have understood the issue, the easiest solution using your existing code would be to set ATTREQ to 1 and populate the attributes directly through the -INSERT command, e.g.: (setq att (getvar 'attreq)) (setvar 'attreq 1) (command "_.-insert" blockname "_S" 1.0 "\\" "\\") (while (= 1 (logand 1 (getvar 'cmdactive))) (command "Attribute Value")) (setvar 'attreq att) Alternatively, you can use any of these functions to modify the attributes values of the block reference following insertion. Quote Link to comment Share on other sites More sharing options...
David Bethel Posted August 13, 2013 Share Posted August 13, 2013 Sometimes TEXTEVAL can come into play as well. -David 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.