ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Table - read the rows

1 REPLY 1
Reply
Message 1 of 2
indrajit.jagtap
377 Views, 1 Reply

Table - read the rows

I have a table created in DWG. I want to read the rows one by one and read the cells. Objective is to dump table data as XML file.

 

I iterated the database and got hold of "AcDbTable" required object. Now, I use "AcDbTableIterator" with "AcDb::TableIteratorOption" of iterateRows. I can get the AcCell object. How can I read the cell contents? Am I doing something wrong? I do not see method to read cell contents.

1 REPLY 1
Message 2 of 2

There are various AcDbTable methods for obtaining cell contents. The AcDbTable::textStringConst() method returns the contents as a string.

--
Owen Wengerd
ManuSoft

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost