Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X
There is so much demo code, you should have a closer look. What you do, will not work 😓
ProParamvalue value;
pars is the ProArray
for( i = 0; i < n; i++ )
{
value.type = PRO_PARAM_VOID;
status = ProParameterValueGet(&pars[i], &value);
// Wstring param name in pars[i].id
switch( value.type )
{
case PRO_PARAM_DOUBLE:
// Integer Value is in value.value.d_val
break;
...