Bug: copy sop stamping strings?

   5584   3   0
User Avatar
Member
387 posts
Joined: July 2005
Offline
Hi SESI,

Linux Houdini 8.1.655

The COPY SOP doesn't seem to stamp strings. Is it a bug? I'm using stamps()

Simple example: place a FONT SOP, followed by a COPY SOP.

In the Copy Sop set “Number of Copies” to 5, Translate-Y to -2. In the Stamp Tab, turn on stamping and set key/value to “thing” and “blah”.
Then back in the Font Sop text-field set the following stamps() expression:
`stamps(“../copy1”, “thing”, “uhoh”)`In setting the Copy Sop's Stamp Value I tried a number of usual hscript tricks, like `echo “blah”` and evals(“echo blah”), run(“echo blah”), just “blah” and ‘blah’ and blah.

It doesn't seem to work. Also, the default string “uhoh” doesn't appear unless the variable name in the stamps() expression is made incorrect. Example hip file attached.

ben.

Attachments:
stamps1.hip.gz (8.7 KB)

''You're always doing this: reducing it to science. Why can't it be real?'' – Jackie Tyler
User Avatar
Member
7722 posts
Joined: July 2005
Offline
The Copy SOP only has float parameters for stamping.
See also the mailing list thread [sidefx.com]
User Avatar
Member
387 posts
Joined: July 2005
Offline
Oh. :-) Thanks Ed.
Then perhaps the Example in the help/reference for the stamps() expression should be changed. Currently the example is:
Examples
stamps(“../copy1”, “name”, “defaultname”)
hdox/houdini/content/commands/expressions/stamps.html

cheers,
ben.
''You're always doing this: reducing it to science. Why can't it be real?'' – Jackie Tyler
User Avatar
Staff
4439 posts
Joined: July 2005
Offline
Currently the only nodes that can stamp string values are the Copy Data DOP, and the Sop Solver DOP (which stamps the DATAPATH and DOPNET variables on the solver SOP, not on itself). But yes, the stamps expression example should be more clear about where that expression might be used.

Mark
  • Quick Links