I am creating 2 custom groups using python. They have to be a very specific order and so I am using a for loop to enter each list of points into these groups.
I am finding that when I look at the lists in the groups. testA and testB, they are not in the same order i inputted the numbers in. I need them to be in the same order, that the loop went thru.
Does anybody know how to do this in python node (houdini)?
So this now shows up in my Geometry spreadsheet under detail. I tried using a Attribute Promote Node and then group the new points “testPoints” but that gives me this warning.
Warning:
Bad pattern specified testPoints.
Possible problems: Number out of range or a syntax error.
Valid Syntax: [!]start[-end][:step][,increment]
examples: !1-10:2,3 1-10:2 * 0-5 1 So i guess I am asking is there a way to make the int array from detail into a point group.
but the new group of points it created still looks like its reordering and I don't want that.
So I am going to try to just take the string (int array) and directly pasting into the “base group” field…not sure how to do this. if someone has a example in python or vex that would be great.