I notice that the method ModelDoc2.GetPathName () returns an empty string if the file hasn't been saved yet. Ok, I understand that - no save, no path. But then how do I assign a config specific custom property of the Mass to a part that hasn't yet been saved? If you do it manually, SW puts in the mass property such as "SW-mass@@ snipped-for-privacy@Part2.SLDPRT". How do I capture the "Part2.sldprt" without using the GetPathName?
WT