Python String Array access (H14)

   2283   2   1
User Avatar
Member
325 posts
Joined: July 2005
Offline
Hey guys,

Is there a way to access string array type attribute in python? I am looking for a semantic equivalent of this:

s@bar = set({“foo”, “bar”});
s@bar = “baz”;


Thanks,
Vlad
I liked the Mustang
User Avatar
Staff
4177 posts
Joined: Sept. 2007
Offline
Python bindings for Array attributes were overlooked; it's been submitted as a bug already, hopefully it'll come along soon!
I'm o.d.d.
User Avatar
Member
4531 posts
Joined: Feb. 2012
Offline
I ran into the same issue. Had to use a more involved workaround.

Hope SESI addresses this issue.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
  • Quick Links