LlDomGetObject

With this function, important subobjects can be obtained from the project object. In order to obtain the object list, for example,

 

LlProjectOpen(hJob, LL_PROJECT_LIST, "c:\\filename.lst",
       LL_PRJOPEN_AM_READONLY);

HLLDOMOBJ hProj;

LlDomGetProject(hJob, &hProj);

HLLDOMOBJ hObjList;

INT nRet = LlDomGetObject(hProj, "Objects", &hObjList);

 

can be used. The other available objects correspond to the entries in the tree structure in the DOM viewer: "Layout", "ProjectParameters", "Settings", "SumVars" and "UserVars". A description of the individual objects with most properties can be found in the reference chapter; the emphasis here is on the principle of working with the DOM functions.