Error in expression difference H10 > H14

   3214   6   2
User Avatar
Member
3 posts
Joined: Nov. 2014
Offline
Hi, newbie question here:

I'm following the tutorial of cmivfx on procedural roads (https://cmivfx.com/store/213-houdini+procedural+road+creation) [cmivfx.com], and everething is good right until chapter 6, when the author (around 2:21) copy the parameters from one transform node ($CEX, etc.) to another transform node with Relatives References. In the tut works just fine, but in my file it doesn't. Then I open the original file of the tut, and doesnt work either!.

I'm guessign something had change from h10 to h14 that break the expression, but I'm stuck.

Please help!

Sorry for my english.
User Avatar
Member
691 posts
Joined: June 2006
Offline
Hola!!

Postea un file!
Y asi podria ayudarte!

Saludos
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
User Avatar
Member
25 posts
Joined: Oct. 2012
Offline
There was a topic on this a while ago and even the author of that video was asking questions there. It turns out that since H12 you can no longer reference to a channel that is using a local variable in it ($CEX,$CEY, etc..). A method to solve this is to use expressions instead of local variables so that when another node references it, it runs the expression again which evaluates fine. In the case of the centroid you can use centroid(“../path”,D_X) instead of $CEX. Documentation on this expression is here: http://www.sidefx.com/docs/houdini14.0/expressions/centroid [sidefx.com]
User Avatar
Member
3 posts
Joined: Nov. 2014
Offline
¡Gracias Alejandro!
Ahi subo el archivo .

Thanks Doodlez!
I will check it out. :shock:

Attachments:
carretera.hip (466.6 KB)

User Avatar
Member
691 posts
Joined: June 2006
Offline
sonidosolidario
¡Gracias Alejandro!
Ahi subo el archivo .

Thanks Doodlez!
I will check it out. :shock:

Aqui esta en hscript.

Saludos

Attachments:
carretera_114.hip (471.7 KB)

Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
User Avatar
Member
3 posts
Joined: Nov. 2014
Offline
¡Gracias Alejandro!
De una me estoy poniendo al día con Hscript.

Gracias nuevamente.
User Avatar
Member
691 posts
Joined: June 2006
Offline
sonidosolidario
¡Gracias Alejandro!
De una me estoy poniendo al día con Hscript.

Gracias nuevamente.

Con mucho gusto!!

Saludos
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
  • Quick Links