Use SW Filename in Custom Property

hi all,

what would the the string that grabs the SW-Filename and places it in a custom property in the part itself. i wish to make part and assembly templates that by defualt assign the filename as the custom property name.

also, is this information documented somewhere?

thanks,

dave

SolidworksParts And Features