Hello,
How do I access Global Table cell data from C++? I am trying to use the following code:
//treenode tr = model()->find("Tools/GlobalTables/ExcelData"); treenode tr = node("MODEL:/Tools/GlobalTables/globalTable"); string nodeName = tr->__getName(); pt(nodeName); pr(); Table myTable = Table(tr); string tableName = myTable.__name(); pt(tableName); pr(); int tt = myTable.cell(1 ,1)->value; //int tt = Table(tr).cell(1 ,1)->value;
It compiles fine, but throws errors when attempting to assign the value to tt.
Thanks,
Martin Haas