Expressions And Referenced Files?

Hi, Im having some kind of trouble here. I am working with a friend and we are referencing my particle expressions and instancers into his scene for render. BUT since he references the file on his, it gets a prefix (like "A_"). I know maya updates expressions when they are explicit like

CODE
ball.tx = fulano.rx;  ( would become  A_ball.tx = A_fulano.rx; )

but I do have some MEL mixed with expressions, like this:

CODE
float $cur_pos[] = pointPosition curve3.u[$curva];  (here curve3  would be A_curve3)

this time maya won't update since its under ( my guess)

I tried to define the string elsewhere as a var but it didn't work also.
I also tried creating a String Attribute under the shape, but i could use something explicit like

CODE
string $name = particle.stringatribute; (give me an error I had to use getAttr....)

does anyboy know???

Well yes thats kindof the idea of why you cant querry stuff outside your node in node design.

Well to be honest you odnt need the mel expression at all. Add curve info node and querry the posion form it withot mel

QUOTE
his time maya won't update since its under ( my guess)

Well yes because they arent expressions but even witout the it wont work.

No string manpulation with expression language either just numeric data.

Use api, unless you want to be quick and dirty and dont bother yourself with heawy consequences on maya design falling appart around you.