how convert absolute path to relative path in motionFX

   5691   8   2
User Avatar
Member
120 posts
Joined: June 2008
Offline
Hello everyone,
sorry for my english..
i don't find documentation on my problem..
i created motion fx with cycle node for loop my movement.
but when i'm in channel node, and i want give a relative path for it work with digital asset, houdini do't want relative path in my channel node..
i tried with opinputpath and other, but nothing change.. perhaps i don't use expression correctly.
i attach an image..
if someone can help me..

thank you for your time.

Bests regards
Edited by - Sept. 12, 2014 12:09:49

Attachments:
absoluteToRelative.jpg (168.3 KB)

User Avatar
Member
7733 posts
Joined: July 2005
Online
Instead of changing the name of the channel, it's better to change the Export Path on the nodes that have the override (orange) flag enabled to the relative path to the parent of your destination.
User Avatar
Member
120 posts
Joined: June 2008
Offline
hi, ok, i test this..
thank you
User Avatar
Member
120 posts
Joined: June 2008
Offline
i can’t change name in the nodes that have the override (orange)..
whan i apply my change, everything return as before
User Avatar
Member
120 posts
Joined: June 2008
Offline
i can’t change name in the nodes that have the override (orange)..
whan i apply my change, everything return as before
User Avatar
Member
258 posts
Joined:
Offline
You could also append a null sop, delete the channels that are controlled by the motion effect and use a chop() expression to point to the null node. In the channel controlled by the motion effect you would write something like:

chop(“../chopNetwork/MYNULL/chan0”)

This way you avoid the whole “export” workflow and I believe it is a lot faster to process
User Avatar
Member
8592 posts
Joined: July 2007
Offline
CHOPs work perfectly with relative paths

just remember, if you are exporting (not using Export CHOP) from any CHOP through export flag, the path to driven parm is combined from Export Prefix and channel name

so just set your channel name to:
Biped_animation_rig1:left_leg_ctrl_ik_ankle_tz

and on node you are exporting from go to Common Tab
and set Export Prefix to :
../..

so that combined export path is:
../../Biped_animation_rig1:left_leg_ctrl_ik_ankle_tz

which will find exactly your parameter
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
120 posts
Joined: June 2008
Offline
hello all,
thank you very much for your help..
it’s really cool.

i used tamte's solution and this work very well.
Again thank you all.

Bests regards

See You
User Avatar
Member
65 posts
Joined: Feb. 2013
Offline
I'm having the same problem and just want to thanks for the explanation! Now it's clear and, also, it works!
Thank you!!!
  • Quick Links