Retrieve Component Repeat Occurrence Number

Hello

I want to retrieve the occurrence number of a part to use it in its designation. I work on SWOOD and set up the part designations by concatenating different variables.

Thank you for your help.

if it's a play, repeat your play, does it have the same designation?

than any occurrence?

unless modified 

so it becomes a derivative part of the basic one

so I think that if your part is modified give it a different name

@+

1 Like

Hello

 

By editing your repeat function, you can find the number of an occurrence.

In the function edit, open the "occurrenceerence to omit" tab.

When it's done, purple dots will appear.

Just by pointing with the mouse at these purple dots, the occurrence number of the pointed part appears (see attachment screenshot).

It's a little DIY but it helps.

 

Have a nice day.


exemple.jpg
1 Like

Hello

My parts come from a parameterized SWOOD component but each occurrence can have a different name, which is why I want to access the occurrence number.

The designation of my piece will then be of the type:

"Nom_Pièce" & "occurrence"

Thank you for your answers