Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Pdf3d

Discussion in 'Pixyz' started by gelr, Oct 3, 2023.

  1. gelr

    gelr

    Joined:
    Oct 3, 2023
    Posts:
    2
    Hello,

    We have Pixyz Scenario Processor and we are saving files in PDF format. But there is a pixyz background all over. How can we change it before the export?

    command used:

    outputFile = "./" + inputFile + ".pdf"
    io.exportScene(outputFile)

    upload_2023-10-3_15-23-10.png

    Thank you
     
  2. AxelJacquet

    AxelJacquet

    Unity Technologies

    Joined:
    Oct 18, 2021
    Posts:
    13
    Hello @gelr !

    The template used for the background is in fact a .pdf file itself, in which the 3D models are integrated at export.
    This file template.pdf is located in Pixyz Studio installation directory (e.g. C:\Program Files\PiXYZScenarioProcessor).
    You can modify this template (e.g. using Adobe Acrobat Pro) and overwrite it, but it needs to remain in the same directoy. Do not forget to save the original template file elsewhere if necessary.

    Hope this helps!
     
    DixieHarber likes this.
  3. gelr

    gelr

    Joined:
    Oct 3, 2023
    Posts:
    2
    This worked smoothly, thank you!
     
  4. DixieHarber

    DixieHarber

    Joined:
    Oct 14, 2023
    Posts:
    1
    Thank you sir, you made my day.
     
    Last edited: Oct 24, 2023