cancel
Showing results for 
Search instead for 
Did you mean: 

Reference pipeline properties from python in a Script Snap

wpenfold
New Contributor III

I’d like to be able to reference pipe.projectPath in a python script, in a Script Snap? Is this possible?..what is the syntax?

2 REPLIES 2

ptaylor
Employee
Employee

I can’t think of a way to do that directly, but what if you were to use a Mapper snap to add the value of that variable to the input document of the Script snap?

wpenfold
New Contributor III

Thanks. That is what I did