Works buffer: init fill from Python


I am trying to fill a works buffer with products before while True loop starts. I added a component creator and connected it to the ComponentContainer. It works except for the parts all ending up in the 0,0,0 of the buffer component. I want to place them visually at the locations of each shelf.

But I am having trouble updating the parts positions when they are inside a ComponentContainer, how do I do this?

Br William

Hello WÄ°lliam
You can check the example.
Edit: Sorry i just saw your python script need. My example is using works library for init filling.

InitFill.vcmx (769.2 KB)

Well that was exactly what I needed. Thank you

1 Like