How to assign a number to a product

Hi,
I would like to be able to assign a random number to the products I create, tried on the assembly level but found out that I can only add a custom property to the parent item, which is fine, but I am not able to assign a value that will follow that parent.
image

hi,

You can use the GetAssembly-statement and return it as a list (source = Assembly Instance).
grafik

Then you can use the Assign-statement to write the component property for product from this list:

1 Like

:slight_smile: thank you, it works.