Get current user
Posted: Sun Oct 30, 2022 1:33 pm
I cannot seem to find any command within SolidWorks that will give me the current user that SolidWorks i.e. puts into the "last saved by" property.
Any ideas how to access this without saving the document?
Is this any different for PDM? How are the abbreviations of the name determined?
I feel like I am missing something incredibly obvious here....
Edit:
I forgot to mention that
GetCurrentFileUser returns an empty string, although this document is saved already!
Code: Select all
$PRP:"SW-Last saved by(Last Saved By)"
Is this any different for PDM? How are the abbreviations of the name determined?
I feel like I am missing something incredibly obvious here....
Edit:
I forgot to mention that
GetCurrentFileUser returns an empty string, although this document is saved already!