How to get Segment ID of a table?
Hello all,
I have a situation where I want to save table in CSV format.
I am using 'ProDwgtableSave' API for the same.
ProError ProDwgtableSave(ProDwgtable* table, ProPath path, ProDwgtableFormattype table_format, int segment_id );
The API extern 'ProDwgtableSave' requires 'segment id' as an argument.
I am using 'ProDwgtableSegCount' API to get segment count.
ProError ProDwgtableSegCount (ProDwgtable *p_table,
int *n_segs);
But I am not finding a way to get 'segment id' from the number of segments.
Therefore I am not able to save CSV file as it is not getting specific table data.
Though I am able to save TXT file as it does not require 'segment id' as argument.
Thanks in advance.
Regards,
Pratik Chougule

