hi, I've created a property that was my intention to link it to the file name, because i need it in a BOM. Is there a code to do that? by code i mean such as the mass ("SW-Mass@@Predeterminado@pieza1.SLDPRT")
Actually, it's $PRP:"SW-File Name". That will get just the name without extension or path. If you want path, you can use $PRP:"SW-Folder Name". There doesn't seem to be a way to get extension, so that would have to be manually added in each template. See examples below.
The built-in property "PART NUMBER" is already available to call out the file name in a BOM column. So do you still need to link it to a property?
no, because some of them will be the name of the file and some don't. it's complicated.
it doesn't work. see attached file, probably i'm doing something wrong
Pls. read this
It works. thank you!
Retrieving data ...