Make a macro, use this to get the file location:
Use this to then add that file name to the custom properties:
Thanks! This is my first real macro, and those certainly got me in the right direction.
So, I think I need to try and regroup here. I think I might be mixing things that should be used in VBA with Visual Basic in Visual Studio?
From the Microsoft Visual Basic for Applications editor I think I should be using:
- Reference for getting the name and path of all documents in assembly (VBA)
- Reference for updating Custom Properties in VBA
- All assembly and part files have a custom property added that contains the ModelPath & FileName&Extension
- Debug print will show the giant list of file names and paths that have been updated.
"Internal ID" is a closely-guarded secret with SW. there is no "internal ID" property per se.
There is a way to get internal ID info that can be used to tell the origin of a file.