Fill Title Blocks Automatically from the SolidWorks PDM Data Card

If your team types the part number, description and revision into each drawing title block by hand, you probably have at least one drawing where they do not match the vault. SolidWorks PDM can remove that manual step by making the data card the one source of truth for title blocks, so SolidWorks PDM data card values flow into the drawing automatically.

How the chain works

There are three links in the chain, and each one is a standard part of SolidWorks and SolidWorks PDM:

  1. Data card. In the vault, users enter part number, description and material once in the vault, on the file’s data card.
  2. Custom properties. A PDM variable is mapped to a custom property in the file. When the value changes on the data card, PDM writes the values to the file’s properties.
  3. Title block. The drawing’s sheet format contains notes linked to those custom properties, so the title block always matches the data card.
Flow diagram: SolidWorks PDM data card values are written to file custom properties, which fill the drawing title block automatically.
One source of truth for title blocks: data card, custom properties, title block.

The mapping is two-way. A value typed on the data card is written to the file, and a value changed in the file’s custom properties shows up on the data card once the file is saved and checked in. That is what makes it a single source of truth rather than two copies that need to be kept in sync.

Decide what lives where

The setup is not hard, but it rewards a little planning before anyone touches the PDM administration tool:

  • Agree on property names. The PDM variable mapping uses the custom property name exactly, including spelling and spacing. “Description” and “DESCRIPTION ” are different properties as far as the mapping is concerned.
  • Decide where each value belongs. Some values describe the part (description, material) and are best stored in the model. Others describe the drawing (drawn by, checked by). Title block notes can link either to the drawing’s own properties or to the referenced model’s properties, so it is worth choosing one approach per field.
  • Let the workflow own the revision. Revision is usually best set by the PDM workflow and revision scheme, not typed by hand. A mapped revision property means the title block shows the same revision as the vault.
Three columns feeding one title block: values stored in the model (description, material), values stored in the drawing (drawn by, checked by), and the revision set by the PDM workflow.
Decide where each title block value lives: one home per field, linked to the title block.

Decide where each title block value lives: one home per field, linked to the title block. A common split looks like this:

  • Stored in the model: Description and Material. Each describes the part.
  • Stored in the drawing: Drawn by and Checked by. Each describes the drawing.
  • Set by the PDM workflow: Revision, which is not typed by hand.

The title block then shows Description, Material, Drawn by, Checked by and Revision, each read from its one home.

Fix your templates at the same time

Mapping only helps files that carry the right custom properties. Part, assembly and drawing templates should already contain the properties the data cards expect, and drawing sheet formats should be linked to them. Otherwise the first drawing made from an old template will quietly break the chain.

Two rows comparing PDM variable mapping. When the file property is named Description, the title block shows BRACKET, MOUNTING. When the file property is Description with a trailing space, there is no match and the title block does not update.
Property names must match exactly. One extra space in a template’s property name is enough to break the link.

Property names must match exactly, because PDM writes to one exact custom property name. In the example, the data card Description is BRACKET, MOUNTING, and the PDM variable is mapped to “Description”. When the property in the file is “Description”, the names match and the title block shows BRACKET, MOUNTING. When a template has “Description ” with one extra space (a trailing space), there is no match: the title block does not update.

Questions to ask before you start

  • Which title block fields are typed by hand today?
  • Are custom property names consistent across part, assembly and drawing templates?
  • Is the revision controlled by the PDM workflow?

How Sollows can help

Sollows Technical sets up and tidies SolidWorks PDM vaults for small teams, including data cards, variable mapping, templates and title blocks that fill themselves. If you are moving from shared folders to PDM, we can help plan the structure before files go in.

To talk through your project, email info@sollowstech.com or see our Services page. Send a model, drawing or sketch and we will reply with next steps and a quote.

Leave a Reply

Your email address will not be published. Required fields are marked *