I'm trying to use aaApi_GenerateDocumentCodeDlg in a custom document command being called via a MRR. The SDK documentation only shows 2 prototypes for document commands via MRR's, and both only provide for document and project id's to pass to a custom document commands, but no AttrRecordIds.
Given that I have access to the project and document id's, is there a SDK function that will return an array of AttrRecordIds for a particular document? Or perhaps a buffer?
I think it would be better if I can use aaApi_GenerateDocumentCodeDlg if I could determine those value(s), instead of what I am doing now, which isn't working anyway. I've searched for sample code that uses aaApi_GenerateDocumentCodeDlg but have turned up nothing, and I've been through the SDK documentation repeatedly and still haven't been able to figure this out.