We currently have a large amount of AutoCAD drawings we created in layout with viewports and the client at the end of the job wants them all turned into model space.
I know I can export from layout to model one at a time, does anyone know of a batch program, lisp or script that I can run to batch all of them in to model space.
Thanks, Blake!
Yes thanks i tried that one with a google serch also, it still seems to let me do one at a time and still keeps it in layout mode. But thanks for the help i am still looking for a batch fix, thanks!
Hi @Anonymous,
Perhaps you could incorporate this command into a script or macro:
(defun c:chs () ;;DCB2013 (if (=(getvar "tilemode")0) (progn (princ "\nSelect objects") (ssget) (command "_.copy" "p" "" "0,0" "0,0") (command "_.chspace" "p") ) (princ "\nMust be in paper space") ) (princ) )
I found it on this old post and credit should go to @Anonymous
I believe it is based on the old chspace.lsp that used to be included in Express Tools
Please hit the Accept as Solution button if my post fully solves your issue or answers your question.
Hi @Anonymous
I am checking back to see if my post helped you with your problem. Please add a post with your results so other Forum users can benefit.
Please hit the Accept as Solution button if my post fully solves your issue or answers your question.
Not sure why this thread is marked solved, whereas, OP states the highlighted solution didn't work.
Anyone have an actual solution for batch export of layouts to model?
Hi @JRWillhite,
Have you considered using ExportLayout in a Macro? If you used this you could create a separate drawing with the contents of the layout in modelspace. A macro or script could perform this for each layout in the drawing.
You could even explore using the Merge Layout routine available in Express Tools
Please select the Accept as Solution button if my post solves your issue or answers your question.
Two years on, has anyone actually figured this one out yet? Seems odd you can't select multiple layouts and create multiple files. Would be very useful for the current systems Contractors are using...
Would have thought a LISP could do it, but I'm not a fan of actual programming...
This is not a problem if you use an additional program. (not a lispe, not a macro)
5 years later, what additional programs are there? All I can find is a JTB plugin that exports the entire model space to a new file per layout, removing the other layouts. Batch Exporting Layout to Model would be different. Any suggestions on where else to look? I'm coming up empty.
Use this - Revers
Additional function -> Exporting Tabs
Can't find what you're looking for? Ask the community or share your knowledge.