I wanted to map Revision and Part Number of the model into its respective drawing EPDM variable, such that the Revision set in Part / Assy model shows up in both Part / Assy / Drawing EPDM card. I've set Variable "Revision" to block "$PRPSHEET" and Attribute "Revision" to slddrw, and Block "CustomProperty" Revision in all Solidworks files.
It should read into attributes "Revision" in sldprt and sldasm and write it as "Revision" in slddrw files.
It works for newly created files with templates but doesn't work on imported files. I've tried Update the slddrw files but it doesn't help. Any idea? Thanks!
I've set revision variable as followed (And similarly in Variable "Number" to PartNo in part/assy model)
Hi Chok, I just carried out a simple test with a part and its drawing which worked for me.
1. Copy part and drawing into vault. Leave files checked out.
2. Open part, add custom property called Revision, add vaule eg A, save and close
3. Open the drawing, save and close.
4. Then the revision property from the part is carried over to the drawing.
So it seems you need to open the drawing in SolidWorks, and resave while you have the SolidWorks EPDM add-in turned on.
Thanks
Prasad