Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Publish Layout to DWG

16 REPLIES 16
Reply
Message 1 of 17
jtm2020hyo
2806 Views, 16 Replies

Publish Layout to DWG

TL;DR I need to export Paper Space Layouts to DWG

 

actually exist the command PUBLISH and everyone can publish their layout to PDF, DWF, DWFx.

 

image.png

 

 

... Exist any method to export all my layouts in multiple separated files to DWG similar to PUBLISH command?

 

I mean, every layout as a unique drawing individually, merged or separated, similar to when is exported to PDF, if merged then separated for 2000 units each layout, if separated then with same that layout. and every layout should cut their XREF with XCLIP and exploded them, I mean every layout like individual drawing. 

 

I already was searching for a different method, but 0 results, every lisp or tool that I found just export entire layout with their xref inserted.

Tags (1)
16 REPLIES 16
Message 2 of 17
Sea-Haven
in reply to: jtm2020hyo

I think you have answered your own question using xclip then chspace then wblock. Don't have anything. need to create clip boundary a fraction inside the mview window use chspace maybe.

Message 3 of 17
jtm2020hyo
in reply to: Sea-Haven

I created one simple Script

 

-pdfimport

"C:\path-file-import.pdf"
5
8000,0


-pdfimport

"C:\path-file-import.pdf"
6
10000,0


-pdfimport

"C:\path-file-import.pdf"
7
12000,0


-pdfimport

"C:\path-file-import.pdf"
8
14000,0


-pdfimport

"C:\path-file-import.pdf"
9
16000,0


-pdfimport

"C:\path-file-import.pdf"
10
18000,0


-pdfimport

"C:\path-file-import.pdf"
11
0,2000


-pdfimport

"C:\path-file-import.pdf"
12
2000,2000


-pdfimport

"C:\path-file-import.pdf"
13
4000,2000


-pdfimport

"C:\path-file-import.pdf"
14
6000,2000


-pdfimport

"C:\path-file-import.pdf"
15
8000,2000


-pdfimport

"C:\path-file-import.pdf"
16
10000,2000


-pdfimport

"C:\path-file-import.pdf"
17
12000,2000


-pdfimport

"C:\path-file-import.pdf"
18
14000,2000


-pdfimport

"C:\path-file-import.pdf"
19
16000,2000


-pdfimport

"C:\path-file-import.pdf"
20
18000,2000


-pdfimport

"C:\path-file-import.pdf"
21
0,4000


-pdfimport

"C:\path-file-import.pdf"
22
2000,4000


-pdfimport

"C:\path-file-import.pdf"
23
4000,4000


-pdfimport

"C:\path-file-import.pdf"
24
6000,4000


-pdfimport

"C:\path-file-import.pdf"
25
8000,4000


-pdfimport

"C:\path-file-import.pdf"
26
10000,4000


-pdfimport

"C:\path-file-import.pdf"
27
12000,4000


-pdfimport

"C:\path-file-import.pdf"
28
14000,4000


-pdfimport

"C:\path-file-import.pdf"
29
16000,4000


-pdfimport

"C:\path-file-import.pdf"
30
18000,4000


-pdfimport

"C:\path-file-import.pdf"
31
0,6000


-pdfimport

"C:\path-file-import.pdf"
32
2000,6000


-pdfimport

"C:\path-file-import.pdf"
33
4000,6000


-pdfimport

"C:\path-file-import.pdf"
34
6000,6000


-pdfimport

"C:\path-file-import.pdf"
35
8000,6000


-pdfimport

"C:\path-file-import.pdf"
36
10000,6000


-pdfimport

"C:\path-file-import.pdf"
37
12000,6000


-pdfimport

"C:\path-file-import.pdf"
38
14000,6000


-pdfimport

"C:\path-file-import.pdf"
39
16000,6000


-pdfimport

"C:\path-file-import.pdf"
40
18000,6000


-pdfimport

"C:\path-file-import.pdf"
41
0,8000


-pdfimport

"C:\path-file-import.pdf"
42
2000,8000


-pdfimport

"C:\path-file-import.pdf"
43
4000,8000


-pdfimport

"C:\path-file-import.pdf"
44
6000,8000


-pdfimport

"C:\path-file-import.pdf"
45
8000,8000


-pdfimport

"C:\path-file-import.pdf"
46
10000,8000


-pdfimport

"C:\path-file-import.pdf"
47
12000,8000


-pdfimport

"C:\path-file-import.pdf"
48
14000,8000


-pdfimport

"C:\path-file-import.pdf"
49
16000,8000


-pdfimport

"C:\path-file-import.pdf"
50
18000,8000


-pdfimport

"C:\path-file-import.pdf"
51
0,10000


-pdfimport

"C:\path-file-import.pdf"
52
2000,10000


-pdfimport

"C:\path-file-import.pdf"
53
4000,10000


-pdfimport

"C:\path-file-import.pdf"
54
6000,10000


-pdfimport

"C:\path-file-import.pdf"
55
8000,10000


-pdfimport

"C:\path-file-import.pdf"
56
10000,10000


-pdfimport

"C:\path-file-import.pdf"
57
12000,10000


-pdfimport

"C:\path-file-import.pdf"
58
14000,10000


-pdfimport

"C:\path-file-import.pdf"
59
16000,10000


-pdfimport

"C:\path-file-import.pdf"
60
18000,10000


-pdfimport

"C:\path-file-import.pdf"
61
0,12000


-pdfimport

"C:\path-file-import.pdf"
62
2000,12000


-pdfimport

"C:\path-file-import.pdf"
63
4000,12000


-pdfimport

"C:\path-file-import.pdf"
64
6000,12000


-pdfimport

"C:\path-file-import.pdf"
65
8000,12000


-pdfimport

"C:\path-file-import.pdf"
66
10000,12000


-pdfimport

"C:\path-file-import.pdf"
67
12000,12000


-pdfimport

"C:\path-file-import.pdf"
68
14000,12000


-pdfimport

"C:\path-file-import.pdf"
69
16000,12000


-pdfimport

"C:\path-file-import.pdf"
70
18000,12000

 

... this .scr import one pdf file, created with publish, to the current dwg file, work perfect, the problem is that is very very slow, took 4 hours to import 20 pages, then I was searching for alternatives, I was searching for a lisp similar to my script...

 

... is there a know it lisp to create xclip's of selected multiple layouts of multiple different drawings to my current drawing separated as my Script? 

 

PD: @pendean  why my post was deleted?, Am I being censored?, Did I say something wrong?

 

 

Message 4 of 17
pendean
in reply to: jtm2020hyo

@jtm2020hyo No sensoring at all: your post was simply moved to this forum for additional wider assistance.

>>>...Exist any method to export all my layouts in multiple separated files to DWG similar to PUBLISH command?...<<<
This is a setting in your PUBLISH pop-up: simply creat 2 .dsd files. 1 with options set for single-sheet & 1 for options set to multi-sheet, use as needed.
Message 5 of 17
maratovich
in reply to: jtm2020hyo

I did not understand you.
The first message you have about exporting using Publish.
The second is using a script to import.
What would you like ? Get from dwg - pdf or from pdf - dwg?
Maybe this will help you:
For import - AutoImportCAD 
For printing in pdf - Revers 

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
Message 6 of 17
JTBWorld
in reply to: jtm2020hyo

Have you tried our JTB LayoutsToDwg? We can customize it further to fit your specific needs.  


Jimmy Bergmark
JTB World - Software development and consulting for CAD and license usage reports
https://jtbworld.com

Message 7 of 17
PatrickHughes
in reply to: jtm2020hyo

Use the EXPORTLAYOUT command. It only exports one layout at a time and the resulting .dwg file contains the exported layout as a inserted block. Per this article: https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/Automati... there are Apps in the App Store that may perform multiple layout exports.

Patrick Hughes

Engineered Design Solutions
Developer of CadTempo - Cad Time Tracking
www.cadtempo.com
Message 8 of 17
jtm2020hyo
in reply to: JTBWorld


@JTBWorld wrote:

Have you tried our JTB LayoutsToDwg? We can customize it further to fit your specific needs.  


the first lisp that I tried was:

 

1 LayoutsToDwg

2 Layouts2Dwg

3 LXA

4 LXAv2

 

all of they are awesome for individual drawing with layouts, but:

 

1 and 2 just export same drawing with the unique layout. 

3 and 4  cut the plan but have problems with xcliped block reference and external references.

 

... and 1,2,3 and 4 need to be modified for multiple drawings and layouts. 

 

Message 9 of 17
jtm2020hyo
in reply to: pendean

image.png

 

I tried to export with your method, but maybe I am misunderstanding? your method just works for PDF, DWF, DWFx. 

 

If it wasn't too much trouble, could someone post a reference image of how to print to dwg?

 

 

Message 10 of 17
jtm2020hyo
in reply to: maratovich


@maratovich wrote:

I did not understand you.
The first message you have about exporting using Publish.
The second is using a script to import.
What would you like ? Get from dwg - pdf or from pdf - dwg?
Maybe this will help you:
For import - AutoImportCAD 
For printing in pdf - Revers 


Both methods have the same result, I was searching for 3rd party software, but I did not found something similar and documentation, so I do not what software to test...

 

Your software looks interesting, I will test it soon.

Message 11 of 17
jtm2020hyo
in reply to: PatrickHughes


@PatrickHughes wrote:

Use the EXPORTLAYOUT command. It only exports one layout at a time and the resulting .dwg file contains the exported layout as a inserted block. Per this article: https://knowledge.autodesk.com/support/autocad/learn-explore/caas/sfdcarticles/sfdcarticles/Automati... there are Apps in the App Store that may perform multiple layout exports.


Thanks a lot for the suggestion, sadly I did not found the software or lisp or vbx that do what I did with my very simple script, all software I found was for individuals drawings, but no one of those apps have options to xclip to cut the drawing as the layout viewport.

 

... but I found Autodesk Export of Civil3D, do exactly what I need, the problem is that crash for some reason, and do not leave error info, so I do not what is wrong to repair in my drawing or maybe that just work with CIVIL3D files.

 

 

Message 12 of 17
maratovich
in reply to: jtm2020hyo

Add an example of your file.

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
Message 13 of 17
JTBWorld
in reply to: jtm2020hyo

We can customize our app to your needs. It currently creates separate drawings of each layout but if you want to batch process multiple drawings or anything else we can help. 


Jimmy Bergmark
JTB World - Software development and consulting for CAD and license usage reports
https://jtbworld.com

Message 14 of 17
pendean
in reply to: jtm2020hyo

The PUBLISH OPTIONS button here is where you set output results to single DWF/PDF file or individual DWF/PDF files

 

Capture.JPG

 

Message 15 of 17
jtm2020hyo
in reply to: maratovich


@maratovich wrote:

Add an example of your file.




I attached a representation.

 

if  I have a 3d model and Model views like this:

 

imagen.pngimagen.pngimagen.png

 

then I should show a layout representation like this:

 

imagen.pngimagen.png

 

 

Message 16 of 17
jtm2020hyo
in reply to: pendean


@pendean wrote:

The PUBLISH OPTIONS button here is where you set output results to single DWF/PDF file or individual DWF/PDF files

 

Capture.JPG

 


I need to use that method to plot to DWG, but I think that can not be possible.

Message 17 of 17

Thanks!
Perfect!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost