Set string attribute from another geometry

   1629   2   0
User Avatar
Member
1 posts
Joined: March 2021
Offline
Hi guys, newbie is here. I have a point geometry (csv table imported by Table Import) which have an integer and string attributes. I try to set these attributes to Curve points by Attribute Create node. I succeed with integer attribute using point("../tableimport1/",$PT,"data",0) expresion in value, but when I try to repeat it with string attribute it fails.
Have anyone some ideas how to success with it?

Attachments:
screen.jpg (64.9 KB)

User Avatar
Member
2659 posts
Joined: June 2008
Offline
There is a companion function to point for accessing strings. It's called points. Try that instead. Check the help card, it only requires three parameters.
https://www.sidefx.com/docs/houdini/expressions/points.html [www.sidefx.com]
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
9573 posts
Joined: July 2007
Offline
if you are copying just between corresponding point numbers as it seems to be the case
you should be able to just use Attribute Copy SOP
Edited by tamte - May 5, 2023 14:32:58
Tomas Slancik
CG Supervisor
Framestore, NY
  • Quick Links