License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2021-02-09
08:33 PM
- last edited on
2021-09-14
09:58 AM
by
Noemi Balogh
2021-02-22 08:40 PM
void MyFunction(const uchar_t* name) { API_LibPart part; BNZeroMemory(&part, sizeof(API_LibPart)); lstrcpy(part.file_UName, name); GSErrCode err = ACAPI_LibPart_Search(&part, false); if (err == NoError) { API_ObjectSettingsPars api_objSetPars; BNZeroMemory(&api_objSetPars, sizeof(API_ObjectSettingsPars)); api_objSetPars.elemDef.header.typeID = API_ObjectID; CHCopyC(part.ownUnID, api_objSetPars.subtypeID); err = ACAPI_Interface(APIIo_ObjectSettingsID, &api_objSetPars); if (err == NoError) { // do sth with the element } } }The window pops up but there's no filtering at all. It just shows everything that's in the whole library (chairs, tables and other decorative stuff).