Have you thought about using a Reference Model which contains the Camera ? This way you could easily swap it and the expressions would update them self (maybe you can only swap it through overriding the model on the disk, not sure if the expressions would break if you swap the model in the scene, would need to try it)
2015-02-10 5:59 GMT+01:00 Alok Gandhi <[email protected]>: > I would go with Eric's approach. Surely have done this before. If I find > that script I will post a snippet. > > Sent from my iPhone > > On 10-Feb-2015, at 1:39 am, Ponthieux, Joseph G. (LARC-E1A)[LITES] < > [email protected]> wrote: > > Ugh. I can’t seem to shake the idea that I have done something like this > in the past. Just can’t remember the context. > > > > Thanks > > > > -- > > Joey Ponthieux > > LaRC Information Technology Enhanced Services (LITES) > > MYMIC Technical Services > > NASA Langley Research Center > > __________________________________________________ > > Opinions stated here-in are strictly those of the author and do not > > represent the opinions of NASA or any other party. > > > > *From:* [email protected] [ > mailto:[email protected] > <[email protected]>] *On Behalf Of *Eric Thivierge > *Sent:* Monday, February 09, 2015 11:50 AM > *To:* [email protected] > *Subject:* Re: Custom Param Set > > > > You'll probably have to script this. Type in the name of the camera in the > text area, have a button next to it to run the script to do a find and > replace in the expression. > > Eric T. > > On 2/9/2015 11:07 AM, Ponthieux, Joseph G. (LARC-E1A)[LITES] wrote: > > Hello, > > > > I have an expression. Part of that expression points to a camera. > > > > I’d like to have that reference point to a Custom Pset parameter where I > can provide the name of the Camera in the parameter. > > > > I tried this with the Camera name as Text, but it doesn’t work. Apparently > it can’t resolve the object name that way. > > > > There will be multiple expressions, each pointing to the same Camera, I > wanted to make this easy to edit the Camera name and have it propagate to > all the expressions. > > > > How would I do this? > > > > -- > > Joey Ponthieux > > LaRC Information Technology Enhanced Services (LITES) > > MYMIC Technical Services > > NASA Langley Research Center > > __________________________________________________ > > Opinions stated here-in are strictly those of the author and do not > > represent the opinions of NASA or any other party. > > > > > >

