US$0.00
0

How to Export Flat Patterns with PDMPublisher

With PDMPublisher, exporting flat patterns from a top-level SOLIDWORKS assembly is completely automated and requires no manual steps.If you have ever wondered how to export flat patterns with PDMPublisher in a reliable, hands-off way, this workflow makes the entire process effortless.

Step 1: Set the Export Location

In this example, the export location is defined as the DXF subfolder inside the C:\Export directory.

Screenshot of a small section of a SOLIDWORKS PDM task configuration dialog focusing on the "Output" settings. The collapsible "Output" panel is expanded, showing a field labeled "Export Location" with the value "C:\Export\DXF". Below it, the evaluated (resolved) value is displayed in gray text as "C:\Export\DXF". To the right are three buttons: a folder icon ("...") for browsing, a question mark for help, and a "Browse..." button. At the bottom right is a checkbox labeled "Customize Location..." alongside a small folder icon. This section defines where exported DXF files will be saved when the task runs.


By enabling “Export file references individually,” both the main assembly and its referenced parts will be processed automatically.

Step 2: Enable Flat Pattern Export

Screenshot of a section of a SOLIDWORKS PDM task configuration dialog showing two export-related checkboxes. The first checkbox is unchecked and labelled "Archive all exported documents (.zip)". The second checkbox is also unchecked and labelled "Export sheet metal parts to 1:1 flat pattern DXF". To the right of the second option is a grey "Flat Pattern Settings" button and a small question mark help icon. This section allows the user to optionally create a ZIP archive of all exported files and to automatically export sheet metal parts as full-scale flat pattern DXF files during the task execution.

Next, check the option “Export sheet metal part to 1:1 flat pattern DXF.”
This ensures that only sheet metal components are exported as clean, accurate flat patterns that are ideal for manufacturing.

Step 3: Define the Naming Convention

File names are automatically built using the part number (or item name) followed by the revision.
This keeps every exported file organized and traceable within your vault or output folder.

Step 4: Apply Filters (Optional)

Screenshot of the PDMPublisher add-in window in SOLIDWORKS PDM, showing the "Conditions" tab. The toolbar at the top displays buttons for Export, Import, and Help. Below is a data mapping grid with one active rule highlighted in green. The rule is configured as an AND/OR condition set to OR, with three columns:

FileName (column header) → condition "TextEqualTo" → value "*.sldprt" (with a green checkmark indicating the rule is valid)
Configuration Name column has a red X (indicating no condition applied to configurations)

A red circle with an X also appears on the right side of the row. This condition means the task will apply only to files whose names end with ".sldprt" (SOLIDWORKS part files), regardless of configuration. The interface is used to define which files the publisher task will process during export or conversion.

To avoid processing every component, you can apply filename filters.
In this case, the export was limited to parts named base_shape and control_panel, allowing targeted processing for selected models.

Step 5: Publish

Finally, click Publish.
PDM Publisher will begin processing the top-level assembly and its references, loading them into memory, extracting each flat pattern, and saving them to the target folder automatically.

Step 6: Review the Results

Once complete, your DXF flat pattern files are ready for fabrication, organized, clean, and consistent.

Author

Amen Jlili

Amen Jlili is the founder and technical director of Blue Byte Systems Inc., a software company in Vancouver, Canada, specializing in automating SOLIDWORKS and PDM. With over a decade of experience, he has authored several courses and open-source frameworks related to the SOLIDWORKS API. His leadership ensures that Blue Byte Systems prioritizes customer satisfaction and delivers high-quality software and CAD design solutions.
0
    0
    Your Cart
    Your cart is emptyReturn to Shop
    ×