Skip to main content
12-Amethyst
August 7, 2023
Solved

How to convert files to pdf except ProPDFExport

  • August 7, 2023
  • 2 replies
  • 1833 views

Creating a function to convert drawing files into pdf collectively.


Currently, we are processing using the ProPDFExport() function, which I understand is only possible if the model is loaded on the graphic screen.


If the number of files that need to be converted increases, we are worried that the program will be burdened.


Is there any other function or method to replace this problem?

 

Best answer by KenFarley

If you are just converting files and already have the functionality programmed for the task, why don't you just free up the memory after a file is converted?

(1) Read a model into session.

(2) Perform the PDF creation.

(3) Erase the model from session.

(4) Repeat for each model.

2 replies

15-Moonstone
August 7, 2023

Can't you use the batch functionality to convert a lot of files to PDF?
I've made a YouTube video about that:
https://www.youtube.com/watch?v=hUxcvH2jRyg&t=1s

Best regards,
     John Bijnens

KenFarley
KenFarley21-Topaz IIAnswer
21-Topaz II
August 7, 2023

If you are just converting files and already have the functionality programmed for the task, why don't you just free up the memory after a file is converted?

(1) Read a model into session.

(2) Perform the PDF creation.

(3) Erase the model from session.

(4) Repeat for each model.