CreoJS: Displaying Messages in Creo Message Log
Hi All,
We are using Creo Parametric 11.0.5.0
As part of our migration from Creo Weblink to CreoJS, we are using the following Weblink code to display messages in the Creo Message Log:
Existing Weblink Code:
function printMsg(msg){
var texts = pfcCreate("stringseq");
texts.Append(msg + "\n");
try {
var glob = pfcCreate("MpfcSession");
glob.GetCurrentSessionWithCompatibility(2);
g_session = glob.GetCurrentSession();
g_session.UIDisplayMessage("usermsg.txt", "USER %0s", texts);
} catch (e) {}
}
In Creo Weblink, we used below code for pfcCreate but for CreoJS this is not needed:
Issue:
I am currently facing challenges with declaring stringseq in CreoJS because I didn’t create a pfcCreate previously for CreoJS. How can I declare stringseq in CreoJS now?
Can anyone provide guidance on how to achieve the same functionality with CreoJS?

