14 Replies Latest reply on Jan 6, 2009 4:46 PM by Christina Seay

    Stamping Drawings in PDM Workflow

    Michael O'Dell
      Is there a way to put a stamp in a drawing through the PDM Workflow? What would be the best route?
        • Stamping Drawings in PDM Workflow
          Christina Seay
          So far, the only ways that I've seen/tried to stamp a drawing:

          1. Stamp the drawing at print time - done with EDrawings API commands via a VB.NET program
          2. Stamp the drawing at print time - done with printer settings (not all printers have the watermark settings to do this)
          3. With the drawing checked out in PDM, open the drawing in SolidWorks and add a header or footer with your stamp information
          4. With the drawing checked out in PDM, open the drawing in SolidWorks and write to a custom block inside the drawing

          With method #4, you can have this information on the data card and have it mapped to a block on the SolidWorks Drawing, then all you have to do is open the SolidWorks Drawing and the field on the drawing will update with the variable information from the card.

          It really just depends on what information you want stamped onto the drawing and when in the drawing's life cycle you want that information to be stamped as to what method works best though.
          • Stamping Drawings in PDM Workflow
            Christina Seay
            All of those methods can be done manually, but you can automate all of them through VB, we're actually using method 1 as part of our batch printing routine to stamp the job number and date onto our drawings. The image with the text for job and date is created and saved by the vb program, the drawing is opened in edrawings via a VB program and using API control in EDrawings, it's stamped onto the drawing and then spooled to the printer.

            With method 2, the printers have to be configured for watermarks, but then my understanding from there is that you can control the watermark that gets printed with a program. The majority of our printers don't have this setting built-into them, so I haven't tried this method personally.

            Method 3, with VB, you would make the connection to SolidWorks and use SolidWorks API commands to write to the header and footer.

            Method 4, using VB and PDM's API, you would 2 alternatives here. Either the user has typed the information you need stamped into a field on the card, or you ask for it with your program and then write it to a field on a card and then with the program, check-out the file, open it, save it, close it, and check it back in. You would need to have the variable field from the card mapped to the block in SolidWorks drawing for this to work.
            • Stamping Drawings in PDM Workflow
              Christina Seay
              If you're going the eDrawings route... is a good resource for eDrawings API commands:
              http://www.cad.vc/solidworks/api/edrawings-api
              • Stamping Drawings in PDM Workflow
                Christina Seay
                You should be able to find lots of info on saving out PDFs and stamping them... I know that's been discussed several times throughout this forum.

                Good Luck!