API to Print Drawing with a Current Date and Time placed into a custom property

Discussion in 'SolidWorks' started by Daniel B. Nordeen, Aug 11, 2003.

  1. Dear SolidWorks guys,

    Looking for a macro that will print a drawing and take the current
    time and date and place it in a custom property that can be plced in
    the title block.

    This is not the available inside SolidWorks just the created date and
    last saved date.

    The general VB command you want to use is the Now function. It
    returns the date and time, so you can use it just after you callout
    the print command.

    Dim dtmnow as Date

    dtmnow = Now

    Please provide any input or macros if possible?

    Daniel
     
    Daniel B. Nordeen, Aug 11, 2003
    #1
  2. Corey Scheich, Aug 11, 2003
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.