Multiple length dictionary array attributes

   1495   3   0
User Avatar
Member
19 posts
Joined: Dec. 2019
Offline
Hi, I'm trying to make an array of dictionary attributes. This seems successful in vops, but not in Python where I need it for the complexity.

I'm wondering if my code is incorrect, or if it's actually a bug. Thanks!
Edited by BitreelTD - June 9, 2022 14:49:19

Attachments:
variable_length_dict_arrays_python.hiplc (194.2 KB)

User Avatar
Member
33 posts
Joined: Nov. 2016
Offline
I can't exactly tell you why this happens, but if you dont use the dict_array_attrib variable for setting the attrib value, but use the attributes name instead, it works.

I updated your file.
Edited by gorrod - June 10, 2022 05:34:43

Attachments:
variable_length_dict_arrays_python.hipnc (199.1 KB)

User Avatar
Member
19 posts
Joined: Dec. 2019
Offline
Awesome thanks for the find!
User Avatar
Member
9415 posts
Joined: July 2007
Offline
Also you may try the latest build

19.0.645
Setting dictionary array attributes in Python should now work.

Fri. June 10, 2022
Tomas Slancik
CG Supervisor
Framestore, NY
  • Quick Links