Assembly name in part properties

Hello
I'm looking for a way to associate the name of an assembly with the file properties of its parts. Basically something similar to $PRP: "SW-File Name(File Name)", but for the assembly where the part is located. In such a way that when making a BOM, there is information about the assembly in which it is located next to the parts, also when the part is in, for example, two different assemblies.

Hello;

Technically this is possible with MyCad tools:

(sorry, I couldn't find a Polish translation.)

Otherwise it should be achievable by Macro.

On the other hand, it is a practice that I strongly discourage.

  • What will happen if a part ends up in two different assemblies or in a sub-assembly?
  • How do I manage configurations of the same part in two different assemblies?

I think it's easier to manage this at the filename level.
Like what:

Main Assembly: xxx-0000.sldasm
Which includes:
Assembly = xxx-1000.sldasm
Subassembly = xxx-1100.sldasm
Sub-assembly part: xxx-1101.sldprt

And for common parts: xxx-0001.sldprt

with +1000 increment for assemblies
with +0100 increment for subassemblies
with +0001 increment for parts

Kind regards.

4 Likes

Hello;

Thank you for validating an answer but you did not specify which solution you preferred, if you chose one.