New Member
Posts: 1
Registered: ‎12-30-2012
Message 1 of 2 (176 Views)

Table - read the rows

176 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.

Valued Mentor
Posts: 498
Registered: ‎08-06-2002
Message 2 of 2 (164 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community