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

How increase size of parameter array in object instance?

$
0
0
Author:Akos Somorjai
Posted: Fri Jan 05, 2018 2:15 pm (GMT+1)


Tsepov wrote:
I need to increase or resuce count of the items in parameters array.
But I have error where assign to .ind1 value more than size of array, defined on the lib part.

chgParam.ind1 = 5;
chgParam.realValue = 10;
err = ACAPI_Goodies (APIAny_ChangeAParameterID, &chgParam, NULL);

Can I increase size of the parameter array dynamicly, without changing a lib part?

Help me please...)


No, you can't change that, because the dimensions are defined in the library part itself, and here you want to modify that via a placed instance. So please define the max dimensions in the library part itself.

Best, Á kos


Viewing all articles
Browse latest Browse all 564

Trending Articles



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