Forum Discussion
tristaanogre
Esteemed Contributor
Rather than using CreateVariantArray, you can use the native Python list data type. The VariantArray that is created is not the same as a regular array.
icenamor
6 years agoOccasional Contributor
I replace for this code:
queue = [] queue.append(LinkedModuleDTO()) Result.linkedModules = queue
And the error is:
Python runtime error. RuntimeError: The parameter is incorrect.
RuntimeError: The parameter is incorrect.
- icenamor6 years agoOccasional Contributor
Are there any solution?
- tristaanogre6 years agoEsteemed Contributor
My best guess at this moment is that the function you're calling within your "append" is not returning something that can actually be appended within an array. What does that function return?
Related Content
Recent Discussions
- 2 days agovladd1