ndi.database.fun.ndi_document2ndi_object
NDI_DOCUMENT2NDI_OBJECT - create an NDI object from an NDI_DOCUMENT
O = ndi.database.fun.ndi_document2ndi_object(NDI_DOCUMENT_OBJ, NDI_SESSION_OBJ)
Create an NDI object O from an ndi.document object and a related
ndi.session object.
ndi.document can also be an ndi.document ID number that will be looked up
in the session.