ObjectARX

Reply
New Member
indrajit.jagtap
Posts: 1
Registered: ‎12-30-2012
Message 1 of 2 (183 Views)

Table - read the rows

183 Views, 1 Replies
12-30-2012 11:42 PM

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.

Distinguished Mentor
owenwengerd
Posts: 635
Registered: ‎08-06-2002
Message 2 of 2 (171 Views)

Re: Table - read the rows

12-31-2012 06:38 AM in reply to: indrajit.jagtap

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

--
Owen Wengerd
ManuSoft
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.