Jump to content

Recommended Posts

Posted

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.

  • Replies 36
  • Created
  • Last Reply

Top Posters In This Topic

  • vernonlee

    17

  • SEANT

    9

  • ReMark

    4

  • tombu

    3

Top Posters In This Topic

Posted
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.

Posted
Yes, that's correct.

 

Sweet. Thanks bro

Posted

You're welcome. Let us know how you make out.

Posted

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.

Posted
You're welcome. Let us know how you make out.

 

 

Works great! :D

Posted
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

  • 2 weeks later...
Posted

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";\;;;

Posted

BigAl said it all. You show us how to translate that to the command macro.:)

Posted

Cool. Thanks BIGAL

 

^C^C_insert;"template";0,0,0;;;;_erase;last;;-insert;"Title A4";\;;;explode;last;
Posted

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.

Posted
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

Posted

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.

Posted
. . . .

^C^C_insert;"template";^C-insert;"*Title A4";\;;

 

. . . .

 

even more nicely done.

Posted
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. :D

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...