🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Python Bridge - 2D Lists from Python cannot be read back into OML

User: "Debdatta_Sen"
Altair Employee
Updated by Debdatta_Sen

In the attached script, one can see that 1D lists such as list1=[1,2,3] can be imported in OML without a hassle.
Whereas when I try to import a list2=[(1,1),(2,2),(3,3)], I receive an error message in OML saying that list2 does not exist.

I use the command getpythonvar().

Am I missing something?

 

I have attached a file that can be used to reproduce my error message.
I am using Compose 2019.3

 

Thanks a bunch,

Deb

Unable to find an attachment - read this blog

Find more posts tagged with