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

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

Reply to
Daniel B. Nordeen
Loading thread data ...

This was discussed earlier check this link

formatting link
You can do it in the header and footer of your drawings.

Reply to
Corey Scheich

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.