Site Translation Underway
Our translation team is diligently working to provide a fully localized experience.
If you spot any English text, rest assured we're on it—thank you for your understanding.
Contact Us
Add the Released Version to the Face of the Drawing in SOLIDWORKS PDM
InSOLIDWORKS PDM, when a file is released, the version that is released is stamped with the revision. If desired, this version that is linked to the latest revision can be shown on the face of the drawing. Note that if both the drawing and the model the drawing references are released, then they'll each have their own released version. This article explains how to show both of these values on the face of the released drawing.
In the PDM admin tool, right-clickVariablesand chooseNew Variable.
In theEdit Variabledialog box, give the variable a name. In this example, I'll use “LastReleasedVersion”.
SelectNew Attribute. Use theBlock name “CustomProperty” and give it anAttribute name. The attribute name is the file property that will be added to the file’s property list on theCustomtab. It is recommended to use the same name as the variable name. This reduces confusion.
Lastly, add the extensions of the files this will apply to. In this case, this applies to drawings, assemblies, and parts.
Step 2: Add the Variable to the Model’s Data Card
Log in to the local vault view (PDM in File Explorer) as someone who can edit data cards. This is typically the PDM admin or someone with admin access. If this step is neglected, changes to the data card won’t be saved.
In the PDM admin tool, selectCards: File Cards. Then, locate the card that is used for the models. This can be seen by the extensions after the card’s name. In the highlighted card, “sldasm, sldprt” are after the card name.
Open this in the card editor by double-clicking it, or right-click and chooseOpen.
In the card editor:
Add a text box control by clicking on the icon the top arrow points to and dragging it to the desired location.
Link it to the variable “LastReleasedVersion”.
With the control selected, check the box so itupdates all configurations.
Label the field by dragging the “Aa” at the top arrow and dragging it to the desired location.
Edit the label in the text box in theFree textarea in the top right (not shown here).
Save your changes (in the top left, select theSavediskette).
Step 3: Add the Variable to the Drawing Data Card
In the PDM admin tool, selectCards: File Cards. Find the card that is used for drawings. This can be seen by the extensions after the card’s name. In the highlighted card, “slddrw” is after the card name.
Open this in the card editor by double-clicking it, or right-click and chooseOpen.
In the card editor:
Repeat steps 1-5 that were taken to add the variable to the model’s data card.
Step 4: Add the Variable to a Part’s Properties
If the part already exists in PDM, then check it out and open it in SOLIDWORKS.
Copy the attribute name from the variable definition and paste it into theCustomtabPropery Name.
Place a value for the new property. A space can be used if nothing is desired.
Sometimes, SOLIDWORKS will automatically delete properties with no values.
Also, add this property to theConfiguration Specifictab.
Check the file back into PDM.
Step 5: Add the Property to the Drawing Template’s Properties
Check out and open a drawing template for editing.
Copy the attribute name from the variable definition in the PDM admin tool and paste it into theProperty Name. Give it a value so SOLIDWORKS won’t delete the property.
Step 6: Add the Part in Step 4 to the Drawing Template in Step 5
Add a single view of the part. This allows us to create a link to the property in the file and save it in the drawing template.
Step 7: Add Text to the Face of the Drawing that Links to the Drawing Property
This should be placed on the sheet format, so select the template and place it inEditing sheet formatmode.
Add a note to the template in the desired location.
Label the link. This is for the drawing. Here, I enteredLAST RELEASE VERSION – DRAWING:
Add the link to the variable in the template’s document properties.
Select theLink to property icon.
In the dialog box, selectCurrent document.
Add the property “LastReleasedVersion” from the dropdown menu.
Select OK.
This will add a link to the drawing’s last released version.
Step 8: Add Text to the Face of the Template that Links to the Model’s Property
This should be in the same note as created in Step 7.
Add a new line to the note.
Label the link. This is for the model, so I enteredLAST RELEASE VERSION – MODEL:
Add the link to the variable in the model’s document properties.
Select theLink to property icon.
In the dialog box, selectCurrent document.
Add the property “LastReleasedVersion” from the dropdown menu.
SelectOK.
This will add a link to the model’s last released version.
Steps 9 and 10 are standard SOLIDWORKS actions.
Step 9: Delete the Part in the Drawing Template
Step 10: Save the Drawing Template to be Used for Future Drawings and Check It In
Step 11: Add Workflow Actions to Update These Variables in the Transition to the Released State
Edit the workflow in the PDM admin tool.
Find the transition the file goes through as it transitions to the released state.
Edit this transition.
Transition action settings:
Type "Set variable".
Check the boxRun for files, andOnly run for files with these extensions.
Add the extensions “sldasm; sldprt;slddrw”.
Note the extensions are separated by “;”.
Variable:LastReleasedVersion(or your variable name).
Select the>and selectNext Version. Be careful to select the correct one. “Version” not “Revision”.
Save the transition action.
Step 12: Test
Create a drawing using the new drawing template.
Add a model to the drawing.
Release both the model and the drawing through the normal steps in the workflow.
Once released, verify that the released version in SOLIDWORKS PDM matches the released version on the face of the drawing.
I hope you found this article explaining how to add the released version to the face of the drawing in SOLIDWORKS PDM helpful. Learn more about SOLIDWORKS PDM below. Additionally, join ourGoEngineer Communityto participate in discussions, create forum posts, and answer questions from other SOLIDWORKS users.
24 Tips to Master SOLIDWORKS PDM
SHORTCUTS ⋅ SEARCHING ⋅ PDM ADD-IN
24 of our expert tips to help you master using SOLIDWORKS PDM. Improve performance, find files faster, and work like a pro.
Jim Ward is a part of the GoEngineer SOLIDWORKS PDM Support team. He has a BSME from CSU, Chico. He worked in design for about 12 years then moved into a SOLIDWORKS support role. The last several years have been focused on SOLIDWORKS PDM Professional (formerly Enterprise PDM).
Get our wide array of technical resources delivered right to your inbox.
Unsubscribe at any time.
×
Alert
As of June 2022, Microsoft will no longer support Internet Explorer. To ensure your browsing experience is not interrupted please update to Microsoft Edge.