API Libobj functions response
Issue #193
resolved
I tried the new Libobj functions and here is what I see on my end.
LibObjGet and LibObjCreate returns to nothing
LibObjList returns to ObrimResponse succesfully
Comments (4)
-
-
reporter Thanks. I tried with following order and it worked successfully. I was trying to set parameter of library object and get compiled parameters.
#! createResponse=.LibObjCreate("libobjName") getResponse = .LibObjGet(createResponse.ObjData.ID) paramSetResponse = .LibObjSetParam(createResponse.ObjData.ID, "paramName", paramValue) compiledResponse= .LibObjGet(createResponse.ObjData.ID) compiledObj = compiledResponse.ObjData
I can successfully read the modified parameters from "compiledObj" object.
-
Sure, but you should not need the second line. The code should look like this:
createResponse=.LibObjCreate("libobjName") paramSetResponse = .LibObjSetParam(createResponse.ObjData.ID, "paramName", paramValue) compiledResponse= .LibObjGet(createResponse.ObjData.ID) compiledObj = compiledResponse.ObjData
-
- changed status to resolved
- Log in to comment
Couple of problems have been fixed in v3.160520.
There is now a sample application also. Can you try TestLibraryObjectAPI on this link?
https://goo.gl/RCOFvn
Let me know if you have any problem running the sample application.