Copy link to clipboard
Copied
Hello all!
Currently trying to work with the RenderQueueMonitorSuite. In the documentation here, many of the functions need a sessid of type AEGP_RQM_SessionId. However, I see no way of acquiring the SessionID myself. Am I supposed to create one? If so, what is wrong with my code? I've been working with the Queubert project as template and I've replaced the work it does with this command.
if (command == S_queuebert_cmd) {
AEGP_RQM_SessionId sessid = 1;
A_long rq_item_countL = 0L,
rqMonitorNum = 0L;
ERR(suites.RQItemSuite3()->AEGP_GetNumRQItems(&rq_item_countL));
suites.RenderQueueMonitorSuite1()->AEGP_GetNumJobItems(sessid, &rqMonitorNum);
std::ofstream MyFile("TESTFILEAE.txt");
MyFile << rq_item_countL << '\n';
MyFile << rqMonitorNum << '\n';
*handledPB = TRUE;
} else {
*handledPB = FALSE;
}
return err;
}
When this is called, there are 9 Items in the RenderQueue. Checking the file, I can see that rq_item_countL is 9, but rqMonitorNum is 0. Shouldn't these be the same? If anyone has any ideas, thoughts, or insights, please let me know!
Have something to add?