nr79_pak Posted September 15, 2009 Share Posted September 15, 2009 Dears. i have 1 drawing which having a lot of blocks and i want to copy all blocks in my system for future usage. can anyone guide me to how do it. regards Quote Link to comment Share on other sites More sharing options...
chulse Posted September 15, 2009 Share Posted September 15, 2009 Just save that dwg and use Design Center to copy the blocks when you need them. Or you could make a block library dwg by starting with a blank dwg and copying the blocks into it with DesignCenter Quote Link to comment Share on other sites More sharing options...
ReMark Posted September 15, 2009 Share Posted September 15, 2009 Another option is to create a tool palette and put the blocks on it for future use via drag-and-drop. Quote Link to comment Share on other sites More sharing options...
nukecad Posted September 15, 2009 Share Posted September 15, 2009 I have quite a few drawings where I have drawn and then individually blocked standard parts, deleted the drawings of the blocks and saved the .dwg just containing the block definitions. I can then insert this .dwg as a block into the drawing that I am working on, thus bringing in all the block definitions for the standard parts. After using the standard parts I need in that drawing a purge gets rid of all the other definitions that have not been used. Quote Link to comment Share on other sites More sharing options...
alanjt Posted September 15, 2009 Share Posted September 15, 2009 Tool Palettes is really the best option, at your disposal. You can virtually put anything in TP. Layers will be set and created properly, options to rotate, easy to organize, can be easily shared over a network,... the list goes on and on. Quote Link to comment Share on other sites More sharing options...
cedwards Posted September 15, 2009 Share Posted September 15, 2009 try this - from Dotsoft Let's you select a target path and automatically wblock all block definitions in the drawing to that folder. ; ---------------------------------------------------------------------- ; (Wblocks all local block definitions to target path) ; Copyright (C) 2000 DotSoft, All Rights Reserved ; ---------------------------------------------------------------------- ; DISCLAIMER: DotSoft Disclaims any and all liability for any damages ; arising out of the use or operation, or inability to use the software. ; FURTHERMORE, User agrees to hold DotSoft harmless from such claims. ; DotSoft makes no warranty, either expressed or implied, as to the ; fitness of this product for a particular purpose. All materials are ; to be considered ‘as-is’, and use of this software should be ; considered as AT YOUR OWN RISK. ; ---------------------------------------------------------------------- (defun c:wblockm () (setq cmdecho (getvar "CMDECHO")) (setvar "CMDECHO" 0) ; (if (not dos_getdir) (setq path (getstring "\nDS> Target Folder: " T)) (setq path (dos_getdir "Target Folder" (getvar "DWGPREFIX"))) ) (if (/= path nil) (progn (if (= (substr path (strlen path) 1) "\\") (setq path (substr path 1 (1- (strlen path)))) ) (princ "\nDS> Building List of Blocks ... ") (setq lst nil) (setq itm (tblnext "BLOCK" T)) (while (/= itm nil) (setq nam (cdr (assoc 2 itm))) (setq pass T) (if (/= (cdr (assoc 1 itm)) nil) (setq pass nil) (progn (setq ctr 1) (repeat (strlen nam) (setq chk (substr nam ctr 1)) (if (or (= chk "*")(= chk "|")) (setq pass nil) ) (setq ctr (1+ ctr)) ) ) ) (if (= pass T) (setq lst (cons nam lst)) ) (setq itm (tblnext "BLOCK")) ) (setq lst (acad_strlsort lst)) (princ "Done.") ; (foreach blk lst (setq fn (strcat path (chr 92) blk)) (if (findfile (strcat fn ".dwg")) (command "_.WBLOCK" fn "_Y" blk) (command "_.WBLOCK" fn blk) ) ) ) ) ; (setvar "CMDECHO" cmdecho) (princ) ) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.