Jump to content
BUrBaKy

Insert dynamic block from file with multiple dynamic blocks

Recommended Posts

BUrBaKy

I'm trying to find the solution but with no luck so far, so i'll ask you guys.

 

I have a drawing ("SURUBURI.dwg") with several dynamic blocks ("M12", "M16", "M18" ... an so on...). I want to insert in my current drawing, one of the blocks from SURUBURI.dwg, for instance the block named "M12".

 

For that i tried creating a new command "INSERT_M12" that has the following script :

^C^C-INSERT; "I:/Ionut Mihaila/Goodies/SURUBURI.dwg/M12"

Now obvious that doesn't work, but i think it shows clearly what i want to accomplish. So is there an other way to do this?

 

Thanks in advance!

Share this post


Link to post
Share on other sites
dbroada

Why not put them on a palette?

Share this post


Link to post
Share on other sites
BUrBaKy

'coz the palette takes more space of my screen, an i need it as clean as posible. i have enough space for more menus but not for a new palette

Share this post


Link to post
Share on other sites
NBC

Palettes have the facility to "auto-hide" themselves, thus keeping your screen as clean as you want it for the maximum amount of time without impacting too greatly on your efficiency

Share this post


Link to post
Share on other sites
dbroada

I have all my palettes on auto hide.

 

Oh well in answer to your question, not to my knowledge.

Share this post


Link to post
Share on other sites
BUrBaKy

well, it's true that i forgot about autohide feature, so 'till i get an answer to my question, i'll use palettes.

 

but then for the sake of knowledge :D how would an autocad specialist resolve the problem? :P

Share this post


Link to post
Share on other sites
benhornshaw

Did Anyone Come up with an answer to this??

I would love to be able to insert a block from a file.

 

Thanks

Share this post


Link to post
Share on other sites
ccowgill

just insert the file, all the blocks inside it will come with. That's what we used to do before we started using palettes.

you can also use the design center to insert a block from a drawing, just browse to the right dwg, click on the blocks and it will populate the design center with all the blocks in the drawing, you can even right click and create a palette from the drawing.

Share this post


Link to post
Share on other sites
McTodd

OK, might not be elegant (I do not have time to write the lisp, but it would not be difficult); you could use a lisp to check for the existence of the block in your drawing already, if it exists, you then use your lisp to insert it. If it does not exist then you could "ddinsert" the file itself so that all the blocks contained therein are created in your new drawing, then explode last and erase previous. The blocks would then be in your drawing, but unreferenced.

 

Then you could loop back to the start.

Share this post


Link to post
Share on other sites
MDrawings

If you're like me and don't like the auto-hide feature, you can use the hotkey CTRL+3 to bring up the the Tool Pallette quickly, pick your block then CTRL+3 again to hide it.

I use it all the time with properties: CTRL+1.

Or you could just use the Deign Center (CTRL+2) to grab the block you need from your file. It will be stored in the history of the design center so you can quickly reference again if you need in the future.

There is even a search function in the Design Center so you can search for that 1 off block you made a long time ago - just hope you gave it a good description or name. :)

Share this post


Link to post
Share on other sites
AlinOz

Hey Guys... I like the Autohide comments regarding the use of palettes, but any of the palettes (check out the View Palettes in the Ribbon Menu) in the later versions of AutoCAD can be set up to use '****** all' screen space. Simply open the palette you wish to use, right mouse click, 'Anchor Right or Left' and it'll put it into a skinny bar to the right or left of the screen. If you Autohide these, they'll only pop out when you run your mouse over them. Right mouse click on the bar in an empty space and you can shrink them to Icons or show the pallet name in Text.

 

So, no need to keep opening and closing any of the palettes...

 

As for using the Tool Palette option for your blocks included within a drawing, try this:

Open both the Designcenter Palette and the Tool Palette. In DesignCenter, locate your drawing containing the Blocks tou wish to use in the left hand pane and expand it to show Blocks, Dimstyles, etc. Right Mouse Click on the Blocks Icon in the LH Pane and choose the Create Tool Palette option... Looky, a new Tool Palette Tab with your Blocks is automatically produced ready for you to edit (allow rotation, Insert Layer,etc) as you'd like and shuffle around to suit your needs.

 

I wouldn't consider any other way these days

Edited by AlinOz
Some further Info

Share this post


Link to post
Share on other sites
khoshravan
Why not put them on a palette?

 

Could you please explain how can we put blocks from a file into palette?

Share this post


Link to post
Share on other sites
MDrawings

Drag and drop...

 

Save your drawing with the blocks.

Open your Tool Pallette.

Drag the block from your drawing to the pallete.

Done.

Share this post


Link to post
Share on other sites
khoshravan
Drag and drop...

 

Save your drawing with the blocks.

Open your Tool Pallette.

Drag the block from your drawing to the pallete.

Done.

 

That's so easy. I didn't expect to be so fast and easy.

Thanks

Share this post


Link to post
Share on other sites
MDrawings

You're welcome!

So... What percentage of your $$$ do I get for improving your efficiency? :D

Share this post


Link to post
Share on other sites
khoshravan
You're welcome!

So... What percentage of your $$$ do I get for improving your efficiency? :D

 

First I have to try it and become proficient at it. Second I have to make it a habit to myself by repetition not to forget, Third I have to measure my efficiency.

Do you want to read Forth and ...?

:lol:

Share this post


Link to post
Share on other sites
ccowgill

another method that is faster than drag an drop, is in the design center, to right click on a drawing, and tell it to create a tool palette from the drawing. It will create a palette that has all the blocks that were saved within that block library drawing.

Share this post


Link to post
Share on other sites
Fett2oo5
another method that is faster than drag an drop, is in the design center, to right click on a drawing, and tell it to create a tool palette from the drawing. It will create a palette that has all the blocks that were saved within that block library drawing.

Now THAT is what I call an awesome tip! Thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×