Weblink redifine coordinate system origin
I am using Creo Parametric Release 6.0 and Datecode6.0.6.0
Has any Weblink api to redifine coordinate system's origin?
If not, how to use macro command to process. Here is a problem that I can't change selectonbuffer after once RunMacro. And then cant't select the new reference for coordinate by code.
Code:
let selection1;
let selection2;
...
let selBuffer = session.CurrentSelectionBuffer;
selBuffer.Clear();
selBuffer.AddSelection(selection1);
session.RunMacro('~ Command `ProCmdReroute` ');
selBuffer.Clear(); <-thorws pfc error
selBuffer.AddSelection(selection2);
session.RunMacro('~ Activate `Odui_Dlg_00` `stdbtn_1`');
