Acad (12 to 2005) : Inserting Blocks From Pull Down Menu

Post new topic   Reply to topic

View previous topic View next topic Go down

Acad (12 to 2005) : Inserting Blocks From Pull Down Menu

Post by architech on Mon Nov 10, 2008 8:54 pm

Inserting blocks from a menu

Here is an example:

*^C^C-layer;s;yourlayername;;-insert;g:/drafting/blocks/yourblockname.dwg;\;;


You will have to specify what layer you would like the block to be inserted on and specify the block location and name of the block. The above line will insert your block (after you make your name adjustments) asking for an insertion point. Then it will bypass the scale, inserting your block 1:1 or what ever your defaults are set at. It will ask you for a rotation where you can enter an amount or pick on the screen. You can tweak these to you needs. By removing a semi colon here or a slash or inserting a colon or a slash, you can get different results. Remember, ; (colons) = "enter" and the \ (slash) is a pause for user imput, such as a click on the screen to select something or to point to an insertion point or rotation angle ... etc.


Note that the asterisk (*) before the line will cause the procedure to repeat in a loop until you hit enter. You can remove this if you want. For example. If you wanted to insert several copies of the same block, leave the asterisk. If you want to only insert 1 item then quit the command, remove the asterisk.

_________________
...Smile, the work will always be there but you don't have to be...

architech
Admin

Number of posts: 399
Age: 39
Location: East Coast
Registration date: 2008-11-08

View user profile

Back to top Go down

Re: Acad (12 to 2005) : Inserting Blocks From Pull Down Menu

Post by architech on Thu Nov 13, 2008 10:17 pm

Attached are examples of menu that use the insertion code...
To see it action type

menuload

and browse to the file to load....

The menu won't work because the DWGs aren't there but the format will be visually there for you to see.

http://www.mediafire.com/file/j2vmg4wdjom/menus.zip

_________________
...Smile, the work will always be there but you don't have to be...

architech
Admin

Number of posts: 399
Age: 39
Location: East Coast
Registration date: 2008-11-08

View user profile

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum