Multiple length dictionary array attributes
958
3
0
BitreelTD
Member
19 posts
Joined: Dec. 2019
Offline
June 9, 2022 2:49 p.m.
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)
gorrod
Member
28 posts
Joined: Nov. 2016
Offline
June 10, 2022 5:15 a.m.
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)
BitreelTD
Member
19 posts
Joined: Dec. 2019
Offline
June 14, 2022 10:22 a.m.
Awesome thanks for the find!
tamte
Member
8570 posts
Joined: July 2007
Offline
June 14, 2022 10:50 a.m.
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 FX Supervisor Method Studios, NY