Skip to main content
Participant
August 1, 2023
Question

Substance Painter Python issue common_params['HipolyMesh'] File not found error

  • August 1, 2023
  • 1 reply
  • 420 views

Substance Painter 2023 Steam Edition

Windows 10

 

Currently trying to automate part of my Baking, and i've been trying to add a High Defintion mesh within the Mesh map using python BakingParameters.set({common_params['HipolyMesh'] : "C:/Users/User_Name/User_File/cowTest/Cow_HP.fbx"}), however it keeps throwing a "File does not Exist Error". However when I manually select the file it seems to work properly. I was wondering if it was a bug, I was missing a step, or that it should be done another way. Any help would be greatly apperciated Thank you.

 

This topic has been closed for replies.

1 reply

04chiakAuthor
Participant
August 3, 2023

Is there any more information I can proved? or is this a know bug... Also does Autodesk give minor updates if it is? Just recently bought Painter on steam, and it's going to feel really bad if the fix is in 2024. 

04chiakAuthor
Participant
August 3, 2023

Oh god, Adobe* lol..

Participating Frequently
August 30, 2023

try using raw strings and pass your path as a variable
hp_fbx = r"C:/folder/hp_mesh.fbx"

 

if that doesn't work, try and contrust your path using os.path and pass that into BakingParameters