Print at Dec 18, 2025, 6:05:23 PM

Posted by Puybaret at Apr 15, 2024, 11:23:44 AM
Re: Generate PDF file.
First thing, if you want some help, you have to help programmers understanding your code too. Naming every variable varsomething is really troublesome and in the long term, it won't help your code maintenance. Some comments could be welcomed too, at least to show where you made some modifications.

Then, in your code:
if (home.wallType.contains(var18.getModeCreationName())) {
wallType and getModeCreationName are new field and method you introduced in your derived version. Are you sure that this condition is fulfilled? Did you use a debugger to check how it works?
Did you try to print, instead of printing to PDF? Then, try to print through a PDF printer driver?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator