Jump to content

automating block insertion


artuiel

Recommended Posts

Hi!

 

I'm looking for a script that does this:

 

insert block from specific (non changing) folder,

*type in name of block*

no rotation

no scaling

insert to picked point on screen

 

(meaning- i only want to type the name end pick a point of insertion)

 

any ideas?

 

thanks a lot!

Link to comment
Share on other sites

This macro will do that, it starts the insert command, pauses for you to input the block name, asks for the insertion point, and inserts at normal scale and zero rotation.

^C^C^Ci;\\1;0;

You could also create a toolpalette with the various blocks, so you only need select the right one and then pick a point, obviously it depends on how many blocks you have.

Link to comment
Share on other sites

  • 2 months later...

Hello again!

 

I have a follow-up challenge here-

the command works great on simple blocks, but It won't insert any block inside the requested block, even when they are both in the same folder...

any ideas?

Link to comment
Share on other sites

It should work, check that you don't have conflicting names or layers, if you can't see anything obvious then try posting the files here for someone to check for less obvious causes

Link to comment
Share on other sites

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