Skip to main content
Participant
July 31, 2022

White space in set-entry

  • July 31, 2022
  • 2 replies
  • 198 views

when i run this command over CMD
"C:\Program Files (x86)\Steam\steamapps\common\Substance 3D Designer 2022\sbsrender.exe" render E:\WorkSync\Infusion\Tech\expandMargin.sbsar --input-graph expand_margin --output-name $Concrete_Hallwall_0_Straight_Outer__n --output-path E:\Development_2\Workspace\Timelapse Vertigo\Data\Locale\Sprites --set-value '$outputsize@12,10' --set-value '$randomseed@0' --set-entry mask@E:\Development_2\Workspace\Timelapse Vertigo\Data\Locale\Sprites\$Concrete_Hallwall_0_Straight_Outer__h.png --set-entry unbleedTex@E:\Development_2\Workspace\Timelapse Vertigo\Data\Locale\Sprites\$Concrete_Hallwall_0_Straight_Outer__n.png

I get

[ERROR][SBSRender]Input file "Vertigo\Data\Locale\Sprites\$Concrete_Hallwall_0_Straight_Outer__h.png" cannot be read : The system cannot find the path specified.

how to handle white space in the set-entry

2 replies

mac_orionAuthor
Participant
August 1, 2022

"C:\Program Files (x86)\Steam\steamapps\common\Substance 3D Designer 2022\sbsrender.exe" render 'E:\WorkSync\Infusion\Tech\expandMargin.sbsar' --input-graph expand_margin --output-name Concrete_Hallwall_0_Straight_Outer__h --output-path 'E:\Development_2\Workspace\Timelapse Vertigo\Data\Locale\Sprites' --set-value '$outputsize@12,10' --set-value '$randomseed@0' --set-entry 'mask@E:\Development_2\Workspace\Timelapse Vertigo\Data\Locale\Sprites\$Concrete_Hallwall_0_Straight_Outer__h.png' --set-entry 'unbleedTex@E:\Development_2\Workspace\Timelapse Vertigo\Data\Locale\Sprites\$Concrete_Hallwall_0_Straight_Outer__h.png'
[ERROR][SBSRender]Input file "Vertigo\Data\Locale\Sprites\$Concrete_Hallwall_0_Straight_Outer__h.png'" cannot be read : The system cannot find the path specified.

Luca Giarrizzo
Community Manager
Community Manager
August 1, 2022

Hello @mac_orion,

 

Try passing the --set-entry argument value as an explicit string by using ' characters, as you did for the --set-value arguments. For instance:

 

--set-entry 'unbleedTex@E:\Development_2\Workspace\Timelapse Vertigo\Data\Locale\Sprites\$Concrete_Hallwall_0_Straight_Outer__n.png'

 

 

Please let me know the results.

 

Best regards.

 

Luca Giarrizzo | Quality Engineer - Substance 3D Designer | Adobe