Save As File name based on custom property

Hi there,

Is there a way to create a save as macro that will automatically fill in the file name field with information from a custom property?

One example of this would be for using an auto part number generator.  Let's say the number generator automatically sets the "Number" custom property based on the next available part number.  Then, when I save the part, it would be nice if the file name was automatically set to this number.

I appreciate any advice or thoughts on this!

Thanks in advance,

Stephen

SolidworksApi macros