Solved! Go to Solution.
Solved! by owenwengerd. See the answer in context.
Look at the AcDbSortentsTable class in the documentation.
thanks a lot, and the code below works well.
AcDbBlockTableRecord *pBtr = NULL;
if (Acad::eOk != acdbOpenObject(pBtr, Acad_System::GetBlockId(ACDB_MODEL_SPACE), AcDb::kForRead))
AcDbSortentsTable *drawOrder = NULL;
pBtr->getSortentsTable(drawOrder, AcDb::kForWrite, Adesk::kTrue);
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!