Firstly: sorry for my bad ebglish.
I'm totally new in Houdini, so it could be silly question. Sorry for that too.
I've created attribwrangler node, set “Run Over” to “Detail”, and type this code:
for (int i; i<10; i++) {
addpoint(0, set(0, (float)i/10, 0));
}
Points created succesfully. But when i'm trying to access “P” attribute of created points, i'm always getting {0,0,0}. There is the code i'm using:
for (int i; i<10; i++) {
vector pos = pointattrib(0, “P”, i, 0);
}
pos always equals {0,0,0}
Help me understand what i am doing wrong, please.