Retrieve directory paths for components in an assembly

Hello

From an assembly, I want to retrieve the path (directory x:\xxxx\rrrr\ccc.sldprt) of the parts and subassemblies of my 3D
I know that the information is in the component property (path of the template documents). But I don't know how to extract it from SW.

I want to put this information either in a nomenclature (xx.sldbomtbt), or in an excel file (via a macro I guess. I don't know the VBA of sw) .

If anyone has an idea to guide me in my approach?
Thanks in advance

PS I have SW2016 and no PDM

If the property exists in your part and assembly, the easiest way is to make a model BOM with only the desired column that you can then export to excel.
Another possibility if you have Mycad tools is to do this bill of materials export directly from Smartbom.

Last possibility: develop a macro from an existing macro.

2 Likes

Thanks for the info
So I created a bill of materials and inserted a column with:
Column Type: Custom Property
Property name: SW - Sossier name

Then I save the bill of materials in excel
Kind regards

You can also save your BOM template if you need to repeat the handling on other assemblies.

1 Like

Yes
I did it
Kind regards

1 Like