Bug in distance expression?

   2912   2   0
User Avatar
Member
519 posts
Joined:
Offline
I am rebuilding Bowmar's measurer_tool DA (tutorial from the visulab site) so that it works on the sop-level. I am using the following expression in the textnodes to get the length/measure of two points (two add sops)

`distance(point(“/obj/model/add1”, 1, “P”, 0), point(“/obj/model/add1”, 1, “P”, 1), point(“/ob/model/add1”, 1, “P”, 2), point(“/obj/model/add2”, 1, “P”, 0), point(“/obj/model/add2”, 1, “P”, 1), point(“/ob/model/add2”, 1, “P”, 2))`

When changing the value of the x and y coordinates the text updates nicely but when changing the z coordinate nothing happens?
User Avatar
Member
4262 posts
Joined: July 2005
Offline
`distance(point(“/obj/model/add1”, 1, “P”, 0), point(“/obj/model/add1”, 1, “P”, 1), point(“/ob/model/add1”, 1, “P”, 2), point(“/obj/model/add2”, 1, “P”, 0), point(“/obj/model/add2”, 1, “P”, 1), point(“/ob/model/add2”, 1, “P”, 2))`

Change /ob/model/add to /obj/model/add
if(coffees<2,round(float),float)
User Avatar
Member
519 posts
Joined:
Offline
BAH! I knew it would be a fault of the user and not of houdini. roll
Read it over a few times but didn't see it … Thanks Wolfwood.
  • Quick Links