I am creating a pipe equipment part using C++. After setting the GUID in API_LibPart.parentUnID, the function call to ACAPI_LibraryPart_GetSect_ParamDef fails and returns -1. The creation of the part fails as a result. When using other GUIDs like door, window or object, the function works without any error. In ArchiCad 26 the same code using the function ACAPI_LibPart_GetSect_ParamDef worked perfectly in case of a pipe equipment GUID. Updating to build 6000 did not help either.
Note: The same error occurs in ArchiCad 28 (28.0.2 Build 3110 INT)