AnsweredAssumed Answered

API to get creator of whole file (not necessarily features)

Question asked by Erika Ahlswede on Mar 25, 2020
Latest reply on Mar 26, 2020 by Matthew Cempa

I'm trying to make an automatic properties macro that, among other things, notes the original creator of a drawing/part/assembly, but I'm having a little difficulty. I've been trying swApp.ActiveDoc.FirstFeature.CreatedBy, but run on a part it's returning a username that I think belongs to the person who first set up our network server. Doing this on a drawing file returned the name of the person who first created the template.

 

Is there any reliably universal way to get the person who created the particular file? And will work for all three big file types? (And hopefully in the case of a file made by creating a copy of an existing file, would return the name of the person who made that copy?)

Outcomes