Error: All OPS must generate the same number?

Hi, I’m following a tutorial on Civitai.
When I try to add more points to my circle SOP I get Error: All OPS must generate the same number.
I’ve read other posts on here regarding having the same number of points and resolution of source operators but I’m still missing something.
Stonehenge.1.toe (19.9 KB)

Hi @DreDon,

when instancing geometry, all operators that are used as Instancing operators must have the same number of - let’s call them “data points”

In your particular example, the boxes are instanced by using the Circle SOP as a reference for position and a TOP texture to control the scale. Now when changing the number of points in the Circle SOP, you will have to make sure that the texture used for the scale has as many pixels.
The resolution of texture used is controlled in your setup by the Fit TOP called “fit1” - currently set to 10 pixels wide. Change this to match the number of points in the Circle SOP and it should work again.

To make things a bit more dynamic, you could also reference or bind the Circle SOP’s Divisions parameter with the Fit TOP’s Resolution parameter. For that, drag the Divisions parameter onto the Resolution parameter and choose either “Reference” or “Bind”. Binding has the additional benefit that you can still change the value on either parameter.

There is an helpful video in our Curriculum dealing with References and Binding:

Hope this helps
cheers
Markus

Thanks Markus.

Just what I was looking for.
“Bind” for the win.