Search the Community
Showing results for tags 'op:'.
Found 4 results
Hello ODFORCE community! First time around here and I hope you can help me with a rather simple(?) case of referencing an attribute to a node. So my situation is the following: I'm trying to feed a number of pre-made curves (from Illustrator) into a File node. In order to do so, I thought I could build a string array in an attribute (detail) wrangle, with the paths to the .ai files, and then extract each file path by feeding a chi() to select each array item. So far so good. What I've noticed is that File nodes don't store data. Is that correct? I connected the attrib wrangle and I couldn't see any attributes (I tested on other node in case was a coding mistake, but they worked fine). So... that's when I land in this question of how to import data in the file path of a File node (Geometry File is the name). I attach 3 snapshots. One with the mentioned nodes,a second one with the array (I've only included one file path xD, just testing) and a last one with the error showed in the File node. I tried adding the "`" "to_feed" is the attribute wrangle "ref_string" the attribute "0" as... I'm retriving the the index = 0 of the array? That one I don't have it clear Anyways, doesn't work : / Is there a way to make it work? Can I retrieve a non-connected attribute into a File node geo path? Alternatives? Thanks in advance!
Hi, can anybody confirm or invalidate my suspicion that op: expression in shaders context (mat or shop) cuurently doesn't work? I know syntax has been a bit inconsistent between different Houdini versions but right now in 16.5 it doesn't seem to work at all for me. i tried: op: /obj/copnet/OUT op: "/obj/copnet/OUT" "op: /obj/copnet/OUT" op:`opfullpath('/obj/copnet/OUT')` and many other mutations of the same thing. anybody? thanks, D. file attached just for case copReferencing.hiplc
Hi, just a quick question: some SHOP nodes have a geometry input. like pcopen, intersect, etc. I'd like to point these inputs to the geo node existing in the scene rather than file on disk. Same thing like bringing in the COP result into the shader by typing `op: obj/copnet/OUT`. But it seems to be not working for geometries. Is it really necessary to cache out geo before using it in the shader or is there some trick to make it work like with COPs? If it is not possible, is there any good reason why? Caching things out can be a bit annoying part of the workflow sometimes. thanks, D.