Join our discord community

Forum breadcrumbs - You are here:ForumPrism: GeneralVariables not resolving
Please or Register to create posts and topics.

Variables not resolving

Hi

 

I am a bit confused about using variables with houdini. Only $PRISMJOB resolves to the right folder, all the others just give me a blank path.

 

$PRISMJOB/$PRISM_ASSETPATH/geo/$HIPNAME.$OS.$F.bgeo.sc

so for example this is resolving the first part, then in assetpath I get //geo/$HIPNAME.....

 

I feel like I am missing something obvious, but I cant figure it out.

 

 

 

 

 

If $PRISM_ASSETPATH resolves to nothingg then your scenefile is probably either saved in a shot or outside of the project.

$HIPNAME is a default Houdini variable and Prism doesn't modify it. If it doesn't work there must the something wrong with your Houdini session. Does it evaluate if you only have $HIPNAME in the string parameter and nothing else?

Hi Richard,

 

The scene is saved in a shot. Whats the proper variable to use in this situation? I woud like to put the caches in the export folder.

$PRISMJOB/$PRISM_SHOT/.....

It would be something like this:

$PRISMJOB\03_Workflow\Shots\$PRISM_SHOT\Export\taskname\v0001_comment_$PRISM_USER\meter\shot_$PRISM_SHOT_taskname_v0001.$F4.bgeo

If you are not using the State Manager you have to set the task and version yourself.