Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - NevTD

Pages: [1]
I'm writing a check tool for a collection of in-house checks our SBS' need to be pushed through before being published.
One of these checks needs to maintain a consistent in-house nomenclature for all input and output node identifiers.

I have this working for the output nodes via Pysbs...
Code: [Select]
if graph.SBSGraph.getGraphOutputs[0].hasUsage(sbsenum.UsageEnum.BASECOLOR): stuff...

However, I can't get this to work with Input nodes as there is no equivalent input dictionary.

The docs for SBSParamInput points back to sbsenum.UsageEnum, but sbsenum.UsageEnum doesn't have any methods for image input maps (normalWS, position etc.).

What do I need to do to build an input specific UsageEnum object to use with .hasUsage?


Docs: (.hasUsage) (.UsageEnum) (.UsageEnum)

I'm trying to drive the baseColor of a material using the --set-value flag and not having any luck.

The material has an Input Parameter (type Float 3) which changes the baseColor of the material. (see attached image)
I'm currently using
Code: [Select]
--set-value '$leather_color@100,150,50' and it doesn't appear to be working, although
Code: [Select]
'$outputsize@11,11' seems to work fine.

I've tried a few different variations of the formatting and had no luck with that, online searches for --set-value come up empty as well.
Can you provide the correct usage of this flag for input parameters? Thanks.

I have a GUI that launches sbsbaker, sbscook and sbsrender processes from Maya.
It works fine as long as the GUI is a child of Maya.

However, if I attempt to detach the GUI from Maya (either subprocess or QProcess), so that the subprocesses run in the background without blocking Maya, I end up with the following error, only for the sbsbaker tasks:
Code: [Select]
(None, 'This application failed to start because it could not find or load the Qt platform plugin "xcb"\nin "".\n\nAvailable platform plugins are: console, linuxfb, minimal, offscreen, xcb.\n\nReinstalling the application may fix this problem.\n'
Any idea what might be causing this?

CentOS Linux release 7.3.1611
Maya 2018.2
Qtpy for bindings
SAT 2017.2.2-50

I'm currently in the process of evaluating Substance Painter and have not been able to find a way to configure a custom shelf (as a shared resource between users); the only way to do this seems to be through the application, as mentioned here:

There's also which is node specific and, which is windows only.

I can't seem to locate a configuration file or environment variables either.

Can anyone please point me in the right direction?

Pages: [1]