ObjectARX

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

Table - read the rows

184 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: 645
Registered: ‎08-06-2002
Message 2 of 2 (172 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

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