Creo 9 problem retrieving parameter value.
If i run the following code in windows scripting host running in either wsh or csh. This works fine in Creo 7 and 8 but reports: pfcExceptions::XToolkitObsoleteFunc in Creo 9 on the para.Value call. If this truly is obsolete function? If it is obsolete is there a list of what was deprecated? Or is it just a installation problem?
Code distilled to smallest possible repeatable unit. Open a part or assembly into creo. Put following into a file with .js extension and run the file in windows scripting host (usually just double clicking of file but other programs might have hijacked the function so...).
var assCon = WScript.CreateObject('pfcls.pfcAsyncConnection');
var paraName = 'DESCRIPTION';
var conn = assCon.Connect('','','.',1);
var session = conn.session;
var mdl = session.CurrentModel;
var para = mdl.GetParam(paraName);
var val = para.Value;
WScript.Echo(paraName + " = \"" + val.StringValue+"\"");
conn.Disconnect(2);
