converting a value to a string!?

   4353   4   1
User Avatar
Member
217 posts
Joined: Sept. 2009
Offline
Hi there,

how can I use a parameter(Attribute) as a string in the font sop?


Thanks a lot!
User Avatar
Member
9538 posts
Joined: July 2007
Offline
http://www.sidefx.com/docs/houdini11.1/expressions/_quoting#id456475 [sidefx.com]
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
217 posts
Joined: Sept. 2009
Offline
thanks tamte, but I still don't know how to bring in an attribute to that font sop.

Enclosed my simple example file.

Attachments:
tape.hipnc (74.0 KB)

User Avatar
Member
8122 posts
Joined: July 2005
Offline
You just embed an expression that gives you the value of the attribute that you created. So combining what tamte said, you use something like this:
(where 0 is your primitive number that you want to get the area of)
`prim(“../m”,0,“area”,0)`
User Avatar
Member
217 posts
Joined: Sept. 2009
Offline
thanks!

My mistake was again that I used “$PT” in the point expression instead a “0”.

Thanks for that hint Edward!
  • Quick Links