window.mGlob = pfcCreate("MpfcCOMGlobal");
window.oSession = mGlob.GetProESession();
Hello everybody
I want to store a table drawing as a .tbl file to disk. But I cann't find any hints in the API for that.
The way vice versa retrieving a table from disk I have the following code but it throwes an error XToolkitGeneralError at the last line.
Does anybody have an idea what is wrong with that and how to save a drawing table to disk
Best Regards
Juergne
window.drawing = oSession.CurrentModel;
var NewPoint = pfcCreate("pfcPoint3D");
NewPoint.Set(0,10);
NewPoint.Set(1,10);
NewPoint.Set(2,0);
var TabRetrieveInstrs = pfcCreate("pfcTableRetrieveInstructions").Create("TableToRetrieve", NewPoint);
var NewTable = drawing.RetrieveTable(TabRetrieveInstrs);
window.oSession = mGlob.GetProESession();
Hello everybody
I want to store a table drawing as a .tbl file to disk. But I cann't find any hints in the API for that.
The way vice versa retrieving a table from disk I have the following code but it throwes an error XToolkitGeneralError at the last line.
Does anybody have an idea what is wrong with that and how to save a drawing table to disk
Best Regards
Juergne
window.drawing = oSession.CurrentModel;
var NewPoint = pfcCreate("pfcPoint3D");
NewPoint.Set(0,10);
NewPoint.Set(1,10);
NewPoint.Set(2,0);
var TabRetrieveInstrs = pfcCreate("pfcTableRetrieveInstructions").Create("TableToRetrieve", NewPoint);
var NewTable = drawing.RetrieveTable(TabRetrieveInstrs);