[Sidefx-houdini-list] shop_materialpath error message

Floyd Gillis floyd at afcg.com
Thu May 17 03:30:06 EDT 2018


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.

Thanks,

Floyd



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
>



More information about the Sidefx-houdini-list mailing list