vernonlee Posted April 5, 2015 Author Share Posted April 5, 2015 I see what you mean now SEANT. I will give this a try & see how it works for me. Thanks bro. BTW, the insertation of the nested block will be base on user input? Meaning when i run the script, immediately the nested block will appear (but not inserted) at my cursor & I can zoom/pan to any area & click a point to where the nested block should be. Quote Link to comment Share on other sites More sharing options...
SEANT Posted April 5, 2015 Share Posted April 5, 2015 I see what you mean now SEANT. I will give this a try & see how it works for me. Thanks bro. BTW, the insertation of the nested block will be base on user input? Meaning when i run the script, immediately the nested block will appear (but not inserted) at my cursor & I can zoom/pan to any area & click a point to where the nested block should be. Yes, that's correct. Quote Link to comment Share on other sites More sharing options...
vernonlee Posted April 5, 2015 Author Share Posted April 5, 2015 Yes, that's correct. Sweet. Thanks bro Quote Link to comment Share on other sites More sharing options...
SEANT Posted April 5, 2015 Share Posted April 5, 2015 You're welcome. Let us know how you make out. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 5, 2015 Share Posted April 5, 2015 After reading more why not just export your title blocks out as individual dwgs with nothing else in them seems the simplest way then just insert the correct one and redo the attributes. Quote Link to comment Share on other sites More sharing options...
vernonlee Posted April 6, 2015 Author Share Posted April 6, 2015 You're welcome. Let us know how you make out. Works great! Quote Link to comment Share on other sites More sharing options...
vernonlee Posted April 6, 2015 Author Share Posted April 6, 2015 After reading more why not just export your title blocks out as individual dwgs with nothing else in them seems the simplest way then just insert the correct one and redo the attributes. That is an alternative way as well. I just wanted to have all blocks in 1 drawing file, sort of consolidate them. Just just deal with 1 template drawing only. But thanks for the suggestion Quote Link to comment Share on other sites More sharing options...
vernonlee Posted April 17, 2015 Author Share Posted April 17, 2015 Hi SEANT, What can I include in the script to explode the block that i just inserted? Currently this is the script i am using:- ^C^C_insert;"template";0,0,0;;;;_erase;last;;-insert;"Title A4";\;;; Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 17, 2015 Share Posted April 17, 2015 Explode Last Quote Link to comment Share on other sites More sharing options...
SEANT Posted April 17, 2015 Share Posted April 17, 2015 BigAl said it all. You show us how to translate that to the command macro. Quote Link to comment Share on other sites More sharing options...
vernonlee Posted April 17, 2015 Author Share Posted April 17, 2015 Cool. Thanks BIGAL ^C^C_insert;"template";0,0,0;;;;_erase;last;;-insert;"Title A4";\;;;explode;last; Quote Link to comment Share on other sites More sharing options...
tombu Posted April 17, 2015 Share Posted April 17, 2015 Keep in mind you're adding that template drawing with all it's blocks as block defined in your drawing. You only erased the insertion. That's adding a lot of bloat to your drawing just to avoid inserting with Design Center. As long as you're ok with that carry on. Quote Link to comment Share on other sites More sharing options...
vernonlee Posted April 17, 2015 Author Share Posted April 17, 2015 Keep in mind you're adding that template drawing with all it's blocks as block defined in your drawing. You only erased the insertion. That's adding a lot of bloat to your drawing just to avoid inserting with Design Center. As long as you're ok with that carry on. I understand. Anyway I always purge the drawing before I issue the drawing out so it is no issue on that. Speed is my THE main concern so the the macro shortcut button is the quickest for me. My supervior most likely berate me for being slow rather than not minimising the file size by a few KB Quote Link to comment Share on other sites More sharing options...
SEANT Posted April 20, 2015 Share Posted April 20, 2015 Nicely done. Quote Link to comment Share on other sites More sharing options...
rkent Posted April 20, 2015 Share Posted April 20, 2015 Instead of this ^C^C_insert;"template";0,0,0;;;;_erase;last;;-insert;"Title A4";\;;;explode;last; you can use this ^C^C_insert;"template";^C-insert;"*Title A4";\;; The ^C will cancel the insert but the definitions are already in the drawing. The * in front of the block will explode it on insertion. Quote Link to comment Share on other sites More sharing options...
SEANT Posted April 20, 2015 Share Posted April 20, 2015 . . . . ^C^C_insert;"template";^C-insert;"*Title A4";\;; . . . . even more nicely done. Quote Link to comment Share on other sites More sharing options...
vernonlee Posted April 22, 2015 Author Share Posted April 22, 2015 Nicely done. Instead of this ^C^C_insert;"template";0,0,0;;;;_erase;last;;-insert;"Title A4";\;;;explode;last; you can use this ^C^C_insert;"template";^C-insert;"*Title A4";\;; The ^C will cancel the insert but the definitions are already in the drawing. The * in front of the block will explode it on insertion. Cool!!! Thanks for the tip. 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.