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

Aug 11, 2003 1 Replies

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


This was discussed earlier check this link

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

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required