View Single Post
# 2 28-06-2004 , 06:37 AM
dannyngan's Avatar
Registered User
Join Date: Dec 2002
Location: Seattle, WA
Posts: 1,154
Backquotes are used when you need to use the results of a particular command inside another command or expression.

Looking at the first example, getAttr locator1.tz by itself would normally just return the TranslateZ value of locator1, print the results in the script editor and complete the command. The result is not usable at all.

Embedding the command within backquotes will make the results usable in an another command. In the case of the first example, the results of the command getAttr locator1.tz are assigned to the variable $locZ.


Danny Ngan
Animator | Amaze Entertainment
my website | my blog | my job