Hi,
I noticed that saving PRT files in JLink after adding some parameters reduces the file's size. I cannot see any differences in the file when reopened but maybe I'm missing something... Anyone knows why this happens?
Here is how I open and save the file:
The size before the procedure is about 1MB, and after - about half of it.
I'm using Pro/ENGINEER TM Wildfire 5.0
Regards,
Aleksy
Edited by: aleksy
I noticed that saving PRT files in JLink after adding some parameters reduces the file's size. I cannot see any differences in the file when reopened but maybe I'm missing something... Anyone knows why this happens?
Here is how I open and save the file:
Code:
ModelDescriptor descriptor = pfcModel.ModelDescriptor_CreateFromFileName(filename);
com.ptc.pfc.pfcModel.Model result = session.RetrieveModel(descriptor);
<br style="font-family: Verdana,Arial,Helvetica,sans-serif;">// setting new parameters on the file goes here<br style="font-family: Verdana,Arial,Helvetica,sans-serif;"><br style="font-family: Verdana,Arial,Helvetica,sans-serif;">result.Save();
The size before the procedure is about 1MB, and after - about half of it.
I'm using Pro/ENGINEER TM Wildfire 5.0
Regards,
Aleksy
Edited by: aleksy