# Cannot Export DXF from PWindow?

**URL:** https://discourse.processing.org/t/cannot-export-dxf-from-pwindow/36767
**Category:** Coding Questions
**Created:** [May 8, 2022, 12:03pm UTC](https://discourse.processing.org/t/cannot-export-dxf-from-pwindow/36767 "2022-05-08T12:03:06Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)
#### Post date: [May 8, 2022, 12:31pm UTC](https://discourse.processing.org/t/cannot-export-dxf-from-pwindow/36767/2 "2022-05-08T12:31:40Z")

</div>

> [@dimpapadop](#):
>
> Actually, nothing is exported, no file is made. What am I missing?

Check out these 2 examples about using [**runSketch()**](http://processing.github.io/processing-javadocs/core/processing/core/PApplet.html#runSketch-java.lang.String:A-processing.core.PApplet-) + [ARGS\_SKETCH\_FOLDER](http://processing.github.io/processing-javadocs/core/processing/core/PApplet.html#ARGS_SKETCH_FOLDER) + [**sketchPath()**](http://processing.github.io/processing-javadocs/core/processing/core/PApplet.html#sketchPath--):

- [Size method for intial window not working when more windows are are added. - Processing 2.x and 3.x Forum](http://forum.Processing.org/two/discussion/16457/size-method-for-intial-window-not-working-when-more-windows-are-are-added#Item_1)

> [@Problems when trying to draw to a P3D PGraphics when called from a thread?](https://discourse.processing.org/t/problems-when-trying-to-draw-to-a-p3d-pgraphics-when-called-from-a-thread/6301/4):
>
> Although it’s pretty much a hack, here’s the workaround I’ve come up w/: crazy_face /\*\* \* Threaded PGraphics II (v1.0.1) \* GoToLoop (2018/Dec/07) \* \* https://Discourse.Processing.org/t/ \* problems-when-trying-to-draw-to-a-p3d-pgraphics- \* when-called-from-a-thread/6301/4 \* \* https://Forum.Processing.org/two/discussion/25799/ \* how-to-draw-a-rect-in-a-thread#Item\_2 \*/ static final int W = 250, H = 200, FPS = 10; Layer layer; void settings() { size(W, H, JAVA2D); smooth(3); } v…

---

_[View the full topic](https://discourse.processing.org/t/cannot-export-dxf-from-pwindow/36767)._
