This article outlines the steps required to define custom columns in a revision table that is populated by inputs from a PDM data card and actions in the PDM Workflow. To complete all these steps listed below, you will need SOLIDWORKS to create revision table templates and administrative permissions in the vault to create variables and update data cards.
In this scenario, the revision table is automatically updated with a new row when and only when the document has received a new revision through the Approved for Release workflow transition and will contain the following values. The DCO field in parts and assemblies must be filled out before a file is initially submitted for release or approved.
Required Steps
Result:
RevTableDCO is actually a placeholder variable that will contain only the SWRevTable mapping, the crucial component required for SOLIDWORKS PDM to push a value into the revision table. It is important that in the Block Attribute mapping for RevTableDCO, we refer to the attribute DCO. This allows it to populate to the column in the revision table with the column header “DCO.”
Note: We can technically add the SWRevTable mapping directly to the variable DCO itself, but we purposefully disconnect the variable we expect the user to be manipulating from the variable being written to by PDM using a placeholder. This is because PDM will create or update the values in a row depending on the following conditions as stated in the PDM Administration Guide.
If one or both conditions are true, the values in the existing row will be updated. If both are false, then PDM will create a new row; such as in the case when the revision variable is updated as part of a workflow transition action to the next revision in the scheme.
If we had added the SWRevTable mapping to the variable “DCO” itself, then there is the possibility that as the user edits the data card the next time the file becomes available for editing in the workflow, they will be overwriting an existing value in the revision table corresponding already existing revision.
Note: If part of your existing workflow involves previewing the next revision in your drawing titleblock as a document is submitted for review, you should consider creating a similar placeholder variable called “RevTableRevision” solely for the SWRevTable mapping to prevent a new row from being created when sending a file to a Pending Approval state. Refer back to the conditions stated in step 3 of this guide for a review of why this could happen.
In conclusion, this guide covers how to add a custom column to a SOLIDWORKS Revision Table in a drawing, how to create a variable with the appropriate SWRevtable mapping, and finally how to create a transition action in our workflow that will push an existing value from our data card to the revision table itself.
The end result is we now have an area of our revision table populated by inputs from our data card exclusively during a certain transition.
It’s important to note that this is only one example of populating the revision table with inputs from PDM. As long as you have the appropriate SWRevTable variable mapping to a particular column of your revision table, you can use any number of types of card controls and inputs to populate your revision table, even outside of a transition. To see an example of this, check out the video by Jim Ward linked below.
More SOLIDWORKS PDM Tutorials
Understanding SOLIDWORKS PDM Data Card Tabs
SOLIDWORKS PDM Full Revision Table in Drawing Data Cards
How to Map PDM Variables into Microsoft Excel
About Miguel de Villa
Miguel de Villa is a SOLIDWORKS Elite Applications Engineer with a B.S. in Mechanical Engineering from the University of California, San Diego. He’s been working at GoEngineer since 2017 helping customers with all their SOLIDWORKS, Simulation and PDM needs. In his free time he enjoys working with his 3D printer, playing video games and building model kits.
Get our wide array of technical resources delivered right to your inbox.
Unsubscribe at any time.