Isotropix Forums

expression of project name

Discuss about expressions in Clarisse

expression of project name

Unread postby hymin86 » Wed Jan 15, 2020 8:04 am

Hi,

While I am using the Save As option in images, I am tyring to use the expression. So here is my expression:
PrjDIR + get_name(get_context()) + "/" + get_name() + "/" + get_name() + ".####.exr"

PrjDIR is variable editor that I made and rest of them is simple nameing from the context.
Here is my question is I want to add my clarisse project file name in middle of expression.

If my project file name is test.project, name of project within the expression.
for example,
PrjDIR + (project file name which is test) + "/" + get_name(get_context()) + "/" + get_name() + "/" + get_name() + ".####.exr"

is there any expression to show the project name in the expression?
Thank you.
hymin86
 
Posts: 2
Joined: Wed Jan 10, 2018 1:17 am

Re: expression of project name

Unread postby anemoff » Wed Jan 15, 2020 10:20 am

Hi,

You can use the built-in global variable "PNAME".

Built-in variables: https://www.clarissewiki.com/4.0/built- ... ables.html
Using built-in variables in expressions: https://www.clarissewiki.com/4.0/using- ... ables.html

Cheers,
Anthony Nemoff
Isotropix
R&D Engineer
User avatar
anemoff
 
Posts: 500
Joined: Wed Jan 13, 2016 10:10 am

Re: expression of project name

Unread postby hymin86 » Thu Jan 16, 2020 1:34 am

Hi,

Thank you "anemoff".
I tested with the expression, it works well.

Thank you for your reply.
hymin86
 
Posts: 2
Joined: Wed Jan 10, 2018 1:17 am


Return to Expressions