# Expressions for referenced files

**URL:** https://forum.highend3d.com/t/expressions-for-referenced-files/5728
**Category:** Maya
**Tags:** mel
**Created:** [November 2, 2002, 11:30pm UTC](https://forum.highend3d.com/t/expressions-for-referenced-files/5728 "2002-11-02T23:30:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gnimmel](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/g/bc79bd/32.png) [@gnimmel](https://forum.highend3d.com/u/gnimmel)
#### Post date: [November 2, 2002, 11:30pm UTC](https://forum.highend3d.com/t/expressions-for-referenced-files/5728/1 "2002-11-02T23:30:23Z")

</div>

I have a expression that changes the pp goal weight of a softbody particle i.e.

particle -e -or 2 -at goalPP -fv 0.25 Braid\_CurveParticle;

There is a lot more to te expression than just this line, but it shows the problem.

The big problem with expressions like this is that I need to use the object name in the expression. The file this expression is used in ( a rigged character) is going to be referenced in another scene file and so the name changes. With basic expression like `objectA.rotateX = objectB.rotateX` the object names are updated with the reference name, but a more complex command like the above particle command dosn't get updated so the referenced file can't find the object.

Anyone know a way arround this?

Thanks,

Richard
