Jump to content

Recommended Posts

Posted

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!

Posted

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.

Posted

thanks Steven,

 

but how do I set the block's folder location?

Posted

Add it to the support path, in tools - options - support file search path.

Posted

I think a toolpallete would be the simplest answer, you wouldn't have to add a folder to the support path.

Posted

Or you can just add the file path to the macro.

Posted

Thank's again for all of your advice! :)

 

I'd rather just type the serial No. ,then trying to find it in the tool-palette

  • 2 months later...
Posted

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?

Posted

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

Posted

does it just refuse to do anything or is it inserting the wrong block?

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