Jump to content

I am Trying to Stamp Filename based on PtNum


schiho

Recommended Posts

Hi Guys,

i am using the following expression on my "File SOP Node".

$HIP/Project/Models/WiggleGEO.`$F-fit(stamp("../copy1", "ptNum", -10), 0, 128, -10, 10)`.bgeo

on the copy node "Stamp Inputs" is active.

Then i get the error on the copy node: "Invalid Source geo2:file2".

I am sure you can reproduce this error.

thanks

Schiho

Link to comment
Share on other sites

I think it doesn't work because for ptNum = 128, you'd have to have WiggleGEO.-9.bgeo at frame1.

Do you have that bgeo file otherwise better make sure fit result is always an integer less than 0?

It might start to work at frame 1 if you change it to $HIP/Project/Models/WiggleGEO.`$F-int(fit(stamp("../copy1", "ptNum", -10), 0, 128, -10, 0))`.bgeo

(10 changed to 0 ) and added int(....) to ensure result is an integer.

Hope that helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...