Export Sheet Metal to DXF only saves sketches for single body parts?
- mike miller
- Posts: 878
- Joined: Fri Mar 12, 2021 3:38 pm
- Location: Michigan
- x 1070
- x 1231
- Contact:
Export Sheet Metal to DXF only saves sketches for single body parts?
I have gone around and around with this one; suppressing sketches, editing flat patterns, editing map files, etc. ad nauseum.
It seems that SWX will export sketches just fine as long as there is only one body in the part. As soon as there are >1 bodies, it will still export geometry and bend lines but not sketches. If I create a Delete/Keep Bodies feature, and leave only one, it works fine. Any ideas?
@Roasted By John
@Glenn Schroeder
@mattpeneguy
It seems that SWX will export sketches just fine as long as there is only one body in the part. As soon as there are >1 bodies, it will still export geometry and bend lines but not sketches. If I create a Delete/Keep Bodies feature, and leave only one, it works fine. Any ideas?
@Roasted By John
@Glenn Schroeder
@mattpeneguy
He that finds his life will lose it, and he who loses his life for [Christ's] sake will find it. Matt. 10:39
Re: Export Sheet Metal to DXF only saves sketches for single body parts?
I cannot open your file (2019) but I've been working with dxfs for laser lately so did some testing on multi body. Here's what I've found: Always with the "Sheet Metal" radio button selectedmike miller wrote: ↑Mon Mar 15, 2021 10:04 am I have gone around and around with this one; suppressing sketches, editing flat patterns, editing map files, etc. ad nauseum.
It seems that SWX will export sketches just fine as long as there is only one body in the part. As soon as there are >1 bodies, it will still export geometry and bend lines but not sketches. If I create a Delete/Keep Bodies feature, and leave only one, it works fine. Any ideas?
@Roasted By John
@Glenn Schroeder
@mattpeneguy
Trailing Arm.SLDPRT
-Only unabsorbed sketches show up in dxf
- If there is more than one body only the first shows up (geometry checked), doesn't matter if there is more than one body in the selection box.
Sorry for the dumb question, but why would you want multiple bodies in one dxf and also sketches? I'm assuming this is not the one part number per file use case? Or piece parts do not get part numbers?
- mike miller
- Posts: 878
- Joined: Fri Mar 12, 2021 3:38 pm
- Location: Michigan
- x 1070
- x 1231
- Contact:
Re: Export Sheet Metal to DXF only saves sketches for single body parts?
I do not want more than one body in a DXF. I want one body along with any sketches that are shown in the Flat-Pattern configuration.
He that finds his life will lose it, and he who loses his life for [Christ's] sake will find it. Matt. 10:39
- jcapriotti
- Posts: 1852
- Joined: Wed Mar 10, 2021 6:39 pm
- Location: The south
- x 1196
- x 1984
Re: Export Sheet Metal to DXF only saves sketches for single body parts?
Does the same thing in 2021. Not that it helps but.......SolidWorks shows it fixed in 2022, SPR #931297
As a workaround, you could suppress the features so you only have one body, then it works. With a bit of rework you could isolate each part's features in folders for easier suppression, but that doesn't work well when one part needs to reference another, which is the reason I assume you are using a multi-body sheet metal part here. You can get around that by having a single skeleton sketch to reference instead of the parts to each other......again...a bit of rework just to get around a limitation on dxf export. But not bad modeling practice either so.....
As a workaround, you could suppress the features so you only have one body, then it works. With a bit of rework you could isolate each part's features in folders for easier suppression, but that doesn't work well when one part needs to reference another, which is the reason I assume you are using a multi-body sheet metal part here. You can get around that by having a single skeleton sketch to reference instead of the parts to each other......again...a bit of rework just to get around a limitation on dxf export. But not bad modeling practice either so.....
Jason
- mike miller
- Posts: 878
- Joined: Fri Mar 12, 2021 3:38 pm
- Location: Michigan
- x 1070
- x 1231
- Contact:
Re: Export Sheet Metal to DXF only saves sketches for single body parts?
Noice. I have no plans to downgrade any further, so no thanks. (not aimed at you, @jcapriotti )jcapriotti wrote: ↑Tue Mar 16, 2021 11:59 am Does the same thing in 2021. Not that it helps but.......SolidWorks shows it fixed in 2022, SPR #931297
As a workaround, you could suppress the features so you only have one body, then it works. With a bit of rework you could isolate each part's features in folders for easier suppression, but that doesn't work well when one part needs to reference another, which is the reason I assume you are using a multi-body sheet metal part here. You can get around that by having a single skeleton sketch to reference instead of the parts to each other......again...a bit of rework just to get around a limitation on dxf export. But not bad modeling practice either so.....
The only workaround I've found is Delete Bodies. Suppressing doesn't help...
He that finds his life will lose it, and he who loses his life for [Christ's] sake will find it. Matt. 10:39
- jcapriotti
- Posts: 1852
- Joined: Wed Mar 10, 2021 6:39 pm
- Location: The south
- x 1196
- x 1984
Re: Export Sheet Metal to DXF only saves sketches for single body parts?
Delete bodies is good and better than the rework I mentioned.
Jason
Re: Export Sheet Metal to DXF only saves sketches for single body parts?
Not in front of SW at the moment to test, but what happens if flatten and then save as>DXF using an annotation view?
Do the sketches get included?
Kevin
Do the sketches get included?
Kevin
- mike miller
- Posts: 878
- Joined: Fri Mar 12, 2021 3:38 pm
- Location: Michigan
- x 1070
- x 1231
- Contact:
Re: Export Sheet Metal to DXF only saves sketches for single body parts?
Yeah they do. But it won't work for us. Even selecting Flat-Pattern View has the same result.
He that finds his life will lose it, and he who loses his life for [Christ's] sake will find it. Matt. 10:39
Re: Export Sheet Metal to DXF only saves sketches for single body parts?
[quote="mike miller" post_id=1279 time=1616417923 user_id=118]
[quote=KevinC post_id=1250 time=1616358582 user_id=111]
Not in front of SW at the moment to test, but what happens if flatten and then save as>DXF using an annotation view?
Do the sketches get included?
Kevin
[/quote]
Yeah they do. But it won't work for us. Even selecting Flat-Pattern View has the same result.
image.png
[/quote]
What about creating an unfolded config?
[quote=KevinC post_id=1250 time=1616358582 user_id=111]
Not in front of SW at the moment to test, but what happens if flatten and then save as>DXF using an annotation view?
Do the sketches get included?
Kevin
[/quote]
Yeah they do. But it won't work for us. Even selecting Flat-Pattern View has the same result.
image.png
[/quote]
What about creating an unfolded config?
Re: Export Sheet Metal to DXF only saves sketches for single body parts?
I could be way off here, but I don't see how the SaveAsDXF could do this as it's likely there are sketches on other, non-parallel, planes. I think the DXF operation can only be given one set of x,y,z rotations and offsets, so I'm thinking it cannot include the sketch from bodyA that may be on the front plane and put it on the same 2D dxf as the sketch for bodyB that may be on the side plane. If we orientate the DXF to bodyA (front plane) and get the sketch, then the sketch for bodyB would just be a line, or a stack of colinear lines, if displayed on a 2D dxf aligned to the front plane.mike miller wrote: ↑Mon Mar 22, 2021 8:58 amYeah they do. But it won't work for us. Even selecting Flat-Pattern View has the same result.
image.png