Export sheet metal to dxf

Is there  simply way to export flat patterns from multi body/sheetmetal part? Or do I need to create drawing for each sheetmetal and then save each drawing to dxf?

SolidworksApi macros
Answers 5
DG
DG 2013-11-30 Best Answer
PC
PC 2013-11-30

Stefan

Right click on the body you want to export and then select export to dxf/dwg for the pop up menu

Paul.

SW
SW 2013-11-30

This is API question

SW
SW 2013-12-01

Thanks,

But I need to do dxf flat pattern from selected objects from weldment cutlist.

SWX allows to export all sheet matals at once and without logical connection to cut list.

Dxf files are connected to flat pattern states at the end oft the feature tree but there is no direct relation to weldment folders and bodies.

Manually I can create drawing view from body that I choose and set displayed view as a flat pattern but from API it's not so easy.

SP
SP 2013-12-02

I think as opposed to trying to export the dxf files from the items in the cut list you could try to export them from the flat patterns. Each of the sheetmetal bodies will have it's own flat pattern at the bottom of the design tree. If you cycle through these with a loop or while statement, you should be able to export each of them individually.

I would rename the flat pattern feature to match the name of the feature in the cut list and use the name of the flat pattern as the name of the dxf.

SLP