2019-08-02
07:17 PM
- last edited on
2022-09-29
10:19 AM
by
Daniel Kassai
//clear up the params.
BNZeroMemory(&element, sizeof(API_Element));
BNZeroMemory(&memo, sizeof(API_ElementMemo));
//initialize element.header
element.header.typeID = toolboxItem.typeID; //ElementTypeID
element.header.variationID = toolboxItem.variationID; //VariationTypeID
//initialize element.object
element.object.libInd = libInd; //library index
WriteReport("element.object.libInd", element.object.libInd);
WriteReport("variationId", toolboxItem.variationID);
//Get memo Defaults
err = ACAPI_Element_GetDefaults(&element, &memo);
//element.object.libInd = libInd;
WriteReport("element.object.libInd", element.object.libInd);
WriteReport("variationId", toolboxItem.variationID);
Solved! Go to Solution.
2019-08-06 08:13 AM
2019-08-06 12:40 AM
2019-08-06 08:13 AM
2019-08-06 11:06 AM
2019-08-13 06:15 PM
APICreate_SL :: APIERR_BADPARS :: library part's ancestor is not registered ({F938E33A-329D-4A36-BE3E-85E126820996}-{8A51B735-58FB-4ECF-98B7-CCFDB21F2453})
APICreate_SL :: APIERR_BADPARS :: library part info (1400, "fénycsöves lámpa 22")
APICreate_SL :: APIERR_BADPARS :: library part is valid and placeable
I've got these error during placing straight pipe, pipeBend and as you can see "fluorescent lamp" as well. Several other elements like Sprinkler,Dry Sprinkler and many self developed objects are placeable.
2019-08-15 03:22 PM