How to change parameter type via J-link?
Hi,
I'm trying to set parameter value of assembly via J-link class.
We are using Wildfire 5.1.
I'm trying to set value of parameter PRO_MP_ALT_AREA under Alternate Mass Properties.
Session session = pfcGlobal.GetProESession ();
Model model = session.GetCurrentModel();
Parameter param = model.GetParam("PRO_MP_ALT_AREA");
double myValue = 1.0;
param.SetValue(pfcModelItem.CreateDoubleParamValue(myValue));
But all I get is XBadGetParamValue Exception.
(not be confused with it’s name, this Exception is thrown from set method too)
It seems that ParamValueType is PARAM_NOT_SET (Unknown in table below) and that causes the problem.
But how can i change it to PARAM_DOUBLE??? I’ve found no set method in API.

What am I doing wrong?
Any help will be appreciated.

