[Sidefx-houdini-list] shop_materialpath error message
pbowmar at gmail.com
Thu May 17 12:10:15 EDT 2018
I just hit this exact same thing actually, and submitted a "please have a
more verbose error message" to SESI.
I worked around it by using Python (speed of execution is not important in
my case) with a try/except around it. Which worked but was waaaay more
typing than was actually needed.
On 17 May 2018 at 00:30, Floyd Gillis <floyd at afcg.com> wrote:
> Hi Jordan,
> Yes, once the file is open it does work OK.
> It's just "annoying" and looks bad when someone else goes to use it.
> On 5/17/18 4:02 PM, Jordan Walsh wrote:
>> Once the file is opened does it work ok?
>> If so, i always thought this type of warning was just an order of
>> execution thing. So when the file loads the expression is evaluated before
>> houdini manages to load your material node. I could be wrong but i have had
>> heaps of those types of errors that don't really break the scene.
>> No idea if there is a better way of dealing with it though!
>> On Thu, 17 May 2018, 6:10 am Floyd Gillis, <floyd at afcg.com <mailto:
>> floyd at afcg.com>> wrote:
>> Hello list,
>> Getting an annoying error message when putting an expression in the
>> "shop_materialpath" field of an object.
>> Example: `chs("obj/CONTROLS/shad_path")`/my_shader_name
>> Where: "shad_path" is a string being set in "/obj/CONTROLS"
>> The expression is expanding correctly, the material is being read and
>> displayed correctly in the viewport, and is rendering correctly
>> with mantra.
>> But, on starting-up houdini I always get something like...
>> /Load warnings for test.hip//
>> //Warning: Bad parameter reference: "obj/CONTROLS/shad_path" in
>> parameter /obj/test/shop_materialpath.
>> Is there something different about string formatting in the
>> "shop_materialpath" field?
>> Any suggestions as to why I'm getting the error messages?
>> Thanks for any info.
>> P.S. I am simplifying this example a bit... all the elements are
>> in on OTL.
>> Houdini FX Version 16.5.463 on linux
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com <mailto:Sidefx-houdini-list at sidefx.com
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list