Certified SOLIDWORKS® Solution Partner|Built for SOLIDWORKS and SOLIDWORKS PDM Professional|Free Community Edition, no key needed

Product features

Conditional Assembly Processing: Filter SOLIDWORKS References by Rule

Publish only the assembly components that match your rules. PDMPublisher conditions use AND/OR groups with text, number, date and yes/no comparisons.

Publishing an assembly rarely means publishing everything in it. Purchased hardware has no drawing, a sub-assembly belongs to another supplier, and only parts in the Released state should leave the vault. Conditions are rules, grouped with And / Or logic, that decide which files in the assembly are processed before any export starts.

In short

  • Rules read custom properties, PDM variables and built-in values such as FileName, ConfigurationName, State or SheetMetal.
  • Text comparisons are not case-sensitive and Text equal accepts *: FileName equal 11* matches every file whose name starts with 11.
  • Files that fail are listed with the reason in the review dialog, before anything is written.

How it works

PDMPublisher Conditions editor with an OR root group containing a nested AND group, each row showing a Variable, Comparison, Value and Configuration field with an enable checkbox
The Conditions editor: a root Or group with a nested And group; each row compares a variable to a value.
  1. Start the job on an assembly with Export references to file formats individually on.
  2. Open the Conditions page (add-in: in the Publish settings; task: the Conditions page of the task) and build the tree: a root group, rows, nested groups.
  3. Each file is evaluated against the enabled tree; a row that names a Configuration reads the value from that configuration.
  4. Files that pass are exported; files that fail show up as skipped with the reason.
  5. Tick Ignore sub-assembly children when condition checks fail when a rejected sub-assembly should take its parts with it.
PDMPublisher Review files to publish dialog listing five assembly files with Use checkboxes, folder, configuration, quantity, drawing found and exclusion reason columns, plus Output formats for this run and Publish button
The review dialog after evaluation: five files passed, each with configuration and quantity.

Settings that matter

SettingWhat to putWhy
Root AndState equal Released; Source not equal PurchasedOnly released, made parts leave the vault.
Nested OrConfigurationName equal Flat* or SheetMetal is YesAlternative ways to catch sheet metal.
FolderPath contains\Vendor\Skip vendor sub-assemblies wholesale.
Ignore sub-assembly children when condition checks failOnA rejected sub-assembly drops its parts too.
PDMPublisher for SOLIDWORKS Conditions window with the Root And selector, plus AND/OR and plus Condition buttons, and a row with Variable, Comparison set to Undefined, Value and Configuration Name fields
An empty tree: a row stays Undefined until a comparison is chosen.

Recipes

You wantSetYou get
Released made parts onlyRoot And: State equal Released; Source not equal Purchased; attach to the Released transitionPDF and STEP for exactly the parts you make.
A laser shop packageRoot And: Material contains Steel; nested Or: ConfigurationName equal Flat* or SheetMetal is Yes; flat pattern DXF onDXFs for the steel sheet metal parts, nothing else.
Skip vendor sub-assembliesFolderPath contains \Vendor\; Ignore sub-assembly children onVendor trees never export.

If something looks wrong

  • A row never matches: the comparison is still Undefined, or the property does not exist on those files (missing evaluates as empty).
  • Everything is skipped: a root And with one impossible row rejects all files. Disable rows with their checkboxes and rerun with the review dialog.
  • Children of a rejected sub-assembly still export: that is the default; enable Ignore sub-assembly children when condition checks fail.
  • In the task, the set of references is wrong: check the BOM Template columns and the Calculation method.

Availability

The condition editor is shared by PDMPublisher for SOLIDWORKS and the PDM Professional task. Conditions travel with a Publish profile in the add-in and are stored on the task’s Conditions page.

Keep going

Documentation

Frequently asked questions

How do I exclude purchased parts when publishing a SOLIDWORKS assembly?

Add a condition row such as Source Text not equal Purchased under an AND root, enable Export references to file formats individually, and publish. Files that fail the rule are skipped before export.

Can conditions use wildcards?

Yes. Text equal accepts * as a wildcard, so FileName equal 11* matches every file starting with 11. Text comparisons are not case sensitive.

What is the difference between AND and OR groups?

In an AND group every child must pass; in an OR group any child may pass. Nest a group inside another when one part of the rule needs different logic from its parent.

Do conditions work on a single part or drawing?

Conditions filter the files considered for export in assembly processing. Ignore sub-assembly children when condition checks fail also has no effect on a standalone part or drawing.

Why are the children of a rejected sub-assembly still exported?

By default each file is evaluated on its own. Enable Ignore sub-assembly children when condition checks fail to stop traversal below a sub-assembly that fails.

Can I review which files passed before anything is exported?

In the SOLIDWORKS add-in, yes. Show conditions output dialog, on by default, lists the files that passed with destination paths, configuration and quantity, and lets you clear files for that run.

Can I reuse a condition tree in another profile or task?

Export it to an .edmtdf file from the Conditions window and import it into the other profile. Complete profiles and settings bundles also carry conditions.

Where to next

PDMPublisher for SOLIDWORKS · PDMPublisher for PDM Professional · All features · Conversion guides · Pricing · Documentation · Contact

The SOLIDWORKS add-in is free to start as the Community Edition. The PDM Professional task comes with a 7-day trial. Download the add-in or start the task trial.