We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2014-06-30 09:05 AM - last edited on 2023-08-01 02:51 PM by Doreena Deng
API_ModulData info; BNZeroMemory(&info, sizeof(API_ModulData)); GSErrCode err = ACAPI_ModulData_GetInfo(&info, "MyFirstDataBlock");It returned APIERR_BADPARS which means "info parameter is NULL".
2014-06-30 11:05 AM
2014-06-30 11:35 AM
2014-07-01 10:17 AM
ReignBough wrote:The earliest place for that is the Initialize function; before that the API interface is not fully set up.
Thanks Tibor.
I put this code on the CheckEnvironment() function. I was hoping to get the ModulData when the add-on loads.
It works perfectly when I put it on other 'non-required' function, though.