Skip to main content
1-Visitor
April 18, 2019
Solved

Iterate through drawing Table using ProToolkit

  • April 18, 2019
  • 1 reply
  • 1549 views

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:

image.png

Before getting to this point the parameter "mdl" is check to make sure that it is a PRO_DRAWING object.image.png

but this always give me the same result: image.png

 

And my drawing as 3 tables in this test case.

image.png

Any help will be appreciate.

Regards

Best answer by AlexCote

I finally found the solution here : https://community.ptc.com/t5/Detailing-MBD-MBE/DeleteTables/td-p/5250

1 reply

AlexCote1-VisitorAuthorAnswer
1-Visitor
April 18, 2019