hexagon logo

Saving Part programs to newer version automatic VB.NET

Hello there,

We have recently updated to the version of 2021R2 of PCDMIS.
But PCMIS 2021R2 supports only versions newer then V2014.
we still have a version of 2020 that support all versions.

But to open every program and save it to the latest version of 2020R2.
Would take up a lot of time, because we have a lot of Part Programs (over 6000)

I now it is possible to open a part program with VB.NET.
but my question is, is it possible to save it to the active version of pcdmis (2020R2)

App = CreateObject("PCDLRN.Application")
Parts = App.PartPrograms("PartProgram.PRG")
Part = Parts.Open

I think it will be something like ...

Part.SaveAs("programNewVersion.PRG") ????? version ?????



Personally, I find it very unfortunate that Hexagon does not come up with the initiative for this solution


Thanks in advance for your answer.
Parents Reply Children