Hey Adam,

It doesn't work because you're using the wrong quotation marks,
*parentConstraint* should be enclosed by backticks / backquotes / ` (it's
an imperative form of eval... sort of).
http://download.autodesk.com/global/docs/maya2014/en_us/files/FAQ_What_is_the_difference_between_eval_backquotes_and.htm

Cheers!

On Thu, Dec 4, 2014 at 1:11 AM, Adam Sale <adamfs...@gmail.com> wrote:

> Hi Cesar, funny, I had been using the one liner to match transforms,
> position, rotation, etc about 6 months ago, no problems
>
> Now, however, running the command just doesn't work for me in MEL in Maya
> 2015 Ext1 SP5.
>
> delete 'parentConstraint';
>
> same goes for point, scale and orient.
>
> Selecting two objects and running returns a syntax error  Line 1.8
>
> Not sure why it would have stopped. Cristobal which version of Maya are
> you running?
>
>

Reply via email to