Quantcast
Channel: ArchiCAD-Talk - Developer Forum
Viewing all articles
Browse latest Browse all 564

Modify an existing Library part's section destroys Libpart

$
0
0
Author:Ralph Wessel
Posted: Mon Oct 19, 2015 11:38 am (GMT+1)


gehairing wrote:
I try to modifiy an existing Library part by adding some parameters.
After running this code on a valid library part the library part is no more valid. In the Library Part dialog there are messages indicating that the 2D symbol and 3D symbol are not valid.
Do you have any idea what i am doing wrong ?

I think you need to include both the new and additional parameters when you make this call:
Code:
                  err = ACAPI_LibPart_SetDetails_ParamDef (&libPart, sectionHdl, &details);

Your existing code will be setting the library part to have only the 3 parameters in sectionHdl.
_________________
Ralph Wessel
Cadimage


Viewing all articles
Browse latest Browse all 564

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>