OdFotan LM

OdFotan

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Hidden Documentation pages? July 21, 2020, 10:58 a.m.

Hi,

While scrolling around a bit on these forums, I came across a question [www.sidefx.com] I did not understand at all, but when I clicked on the link in the answer I saw this interesting documentation page, which talks about things I've always wondered about.

https://www.sidefx.com/docs/houdini/vex/attribtypeinfo_suite [www.sidefx.com]

But this page is not really part of the docs?
At least not of the clickable links in the docs, right?

How would one find these pages?

I remember this happens more often. Do we just have to get lucky to come across these while scrolling or googling, or is there a way to see them all / unhide them in the docs?

Import Blocks: import "Disable When" script also? July 21, 2020, 6:10 a.m.

Hi guys,

Just discovered Import Blocks, awesome.
However; When I import multiple of my ‘Geoscaler’ HDAs, which has an “Disable When” hierarchy in it, (like this:
)
, into an top-asset, it doesn't work anymore in the top-asset:

The script still has ‘blendparent == 0’, while the Import Blocks function has renamed the parameter blendparent8, or something.


Is there some way to get around this? If not: maybe we should ask for a feature request for this?


Thanks, :-)

How to get an obj's world pos in a nice expression-friendly way (say for driving a particle source from a null)? July 20, 2020, 3:28 p.m.

howiem
And no, I wouldn't have liked to type this by hand (let alone copy and paste and tweak for Y and Z):

{

matrix src_xform = optransform(“../MY_NULL”);
matrix target_xform_inverted = invert(optransform(opinputpath(“.”, 0)));
matrix final_xform = src_xform * target_xform_inverted;


matrix rest_xform = identity(4);
matrix self_xform = rest_xform * final_xform;

float result = explodematrixpr(
self_xform,
vector3(ch(“./px”), ch(“./py”), ch(“./pz”)),
vector3(ch(“./prx”), ch(“./pry”), ch(“./prz”)),
chs(“./xOrd”), chs(“./rOrd”), “TX”);
return result;

}



Why all this code when it could just be done with the origin() vtorigin() vrorigin() expression functions?