Auto-naming of components

Dear community,

I’m building a PCBD out of Behavior PCs and it would be interesting if I can name lower level elements based on a concattination of the parent name and a new section (e.g., if grand-parent name is GP, parent name would be GP-P and child name would be GP-P-C). Is this possible automatically in Capella?

Regards,
Sebastiaan

Yes in the sense that you can use Python4Capella to develop a script that does that for you.

1 Like

ok, thanks. I’ll stick with the basic functionality for now, but it’s good to know the option is there.

Is there any specific reference you can recommend regarding the use of Python4Capella?

Yeah, the Python4Capella GitHub homepage has a lot of great content including pointers to the documentation: GitHub - labs4capella/python4capella: Python for Capella

After reading the basics, don’t miss the Tips and Tricks page: python4capella/doc/org.eclipse.python4capella.doc/doc/user/general/TipsAndTricks.textile at master · labs4capella/python4capella · GitHub

Stephane