Iterate through drawing Table using ProToolkit
Hi,
trying to figure out why I can't get this to work.
I am a beginner at C++, but know how to program and a Creo user for many years.
Now I am trying to get my toolkit to give me how many table there's in my drawing. The ultimate goal is to select a specific table en save it as CSV, but for now one small step at the time 🙂
So here's a snapshot of my code:

Before getting to this point the parameter "mdl" is check to make sure that it is a PRO_DRAWING object.
but this always give me the same result: 
And my drawing as 3 tables in this test case.

Any help will be appreciate.
Regards

