ObjectARX

Reply
New Member
1 Posts
0 Kudos
Registered: ‎12-30-2012
Post 1 of 2

Table - read the rows

192 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
739 Posts
100 Kudos
Registered: ‎08-06-2002
Post 2 of 2

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
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!