Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.
Thanks for your work JIMSMART, it does precisely what I was looking for. We're in the middle of a transition from Autocad to Revit MEP and I have to create all symbols based on our cad library. I just open our block files, run the LISP, then import the wblock into Revit and save the family as is.
Great time saver. Great saviour.
JIMSMART, thank you so much. Your script works beautifully.
@Anonymous wrote:Hi, May i know what should i do after i run the script.
The code he wrote is defining a command called "wblockm". After pasting all of the stuff he wrote, just use wblockm like a regular command, and it will start working. Note that there's an m on the end. wblock is the built in command; wblockm is Jim's custom command.
Optional:
To make the process easier, one can make AutoCAD define Jim's custom command every time a document is opened.
-Type the command "VLISP" to bring up the LISP editor. Create a new LISP file, paste Jim's stuff, save it as wblockm.lsp in a location used for LISP files.
-In acaddoc.lsp, enter a line that says (load "wblockm.lsp")
http://jtbworld.com/autocad-acaddoc-lsp (information about acaddoc.lsp)
Thanks Jimsmart,
That worked great. Unfortunately, when using Civil 3D, I get prompted with a dialog asking if I want to include Map data with the WBLOCK. Not a problem with a drawing with only a few blocks, but when I did it with a converted Microsation TXDOT topo map drawing, it had several thousands of blocks. My workaround? (you'll love this). I put a thimble (don't ask) on the "N" key on my keyboard and put my phone on top and took a break instead of tapping No to the prompt manually. How much trouble would it be, if possible, to avoid that Aggie engineering hack and include that line in your lisp routine?
Hi there I know this is an old post but I am looking for a way to wblock multiple blocks into individual DXF files but it retains the blocks current state (there are parameters and actions). The reason I want to retain the block is because I have a bunch of blocks that are fairly complicated and they are linked to a table so they can automatically update width and height. I have found lisp routines that wblock the blocks themselves but I need the blocks to be retained in the current state. This is my first post and maybe I am asking in the wrong topic section but I figured I had to start somewhere. I can post drawing examples if need be. Thanks
If your using CIV3D then just look for the line in the code that is WBLOCK and add the "N" if I remember correctly as last item in the wblock line.
Can't find what you're looking for? Ask the community or share your knowledge.