[Sidefx-houdini-list] shop_materialpath error message

Javier MeroƱo javiermerono at hotmail.com
Thu May 17 07:48:41 EDT 2018


If it's just the error warning that bugs you, I'm wondering if you could make the error "silent" with a expression similar to
if(strmatch("*Error:*", etc...
Can't test that now. Just throwing in the idea...

From: Sidefx-houdini-list <sidefx-houdini-list-bounces at sidefx.com> on behalf of Floyd Gillis <floyd at afcg.com>
Sent: Thursday, May 17, 2018 9:30:06 AM
To: Jordan Walsh; sidefx-houdini-list at sidefx.com
Subject: Re: [Sidefx-houdini-list] shop_materialpath error message

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!
> Jordan
> 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.
>     Floyd
>     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>
>     https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com

More information about the Sidefx-houdini-list mailing list