Everything CADD
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

Go down

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

Post by architech Mon Nov 10, 2008 9: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.
architech
architech
Admin

Number of posts : 401
Age : 53
Location : East Coast
Registration date : 2008-11-07

Back to top Go down

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

Post by architech Thu Nov 13, 2008 11: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
architech
architech
Admin

Number of posts : 401
Age : 53
Location : East Coast
Registration date : 2008-11-07

Back to top Go down

Back to top


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