Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
We want to export multiple Creo drawings to PDFs that are in a windows folder. I am considering to export using Excel based VBA macro. I combined the sample macro provided as a part of installation, Async_Mode_Example.xls & the VBA code provided at https://www.ptc.com/en/support/article/CS141963. When I run the macro it fails at model.Export line. The error thrown is pfcExceptions::XToolkitNotDisplayed. I am stuck and not able to proceed. Please help. Let me know if additional information is required. I tried with Creo7 & Creo9 but still I see the same error.
Hi,
just FYI there are another methods how to do described action. For example:
IpfcXToolkitNotDisplayed - Model not displayed in any window.
I think, the drawing was loaded in to session, but your code not display it in current window.
Yes, adding call IpfcModel.Display() before call IpfcModel.Export() worked. Got this info from a ticket I raised.