Bug or RFE: Always emit a CopyId attribute in Copy POP, if enabled

Hello there,

When using the Copy POP, we can enable the CopyId attribute. Conceptually, it makes sense that if there are no copies (i.e., the number of copies is 1), then no CopyId is generated—because, in a strict sense, there are no “copies.”

I’m not sure if that is by design or if it is a bug.

In any case, in practice, it’s much more convenient to always have a CopyId available. Setting it to 0 when the number of copies is 1 allows us to rely on this attribute consistently, especially when the copy count changes dynamically, otherwise we cannot depend on that attribute and we get errors down the line.

Attached a practical example.

CopyID_RFE.tox (8.9 KB)

Best,
Darien

Hi Darien,

Thanks for the suggestion, agreed, we’ll add it for a future release.

Cheers,
Vincent

1 Like

Thank you Vincent!