Integrating 3D models with photography
Interested in integrating your 3D work with the real world? This might help
# 1 28-06-2004 , 06:16 AM
Gun-Kata's Avatar
Registered User
Join Date: Jan 2004
Location: Los Angeles
Posts: 68

What do these `` things mean?

Sorry for all my newbish questions, but what does it mean when something is enclosed by these `` ? Like for example

float $locZ = `getAttr locator1.tz`;

or

float $goalU[] = `particle -id $parentId -at goalU -q particleShape1`;

# 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
# 3 28-06-2004 , 04:00 PM
Gun-Kata's Avatar
Registered User
Join Date: Jan 2004
Location: Los Angeles
Posts: 68
Thanks! I have another question: your Blocky Guy character has some circles around him. Like the ones on the floor and some on his spine. What do they do?

# 4 28-06-2004 , 04:40 PM
dannyngan's Avatar
Registered User
Join Date: Dec 2002
Location: Seattle, WA
Posts: 1,154
Those are objects that I use to control the character. I like to keep the joints and ik handles hidden when I animate, so I'm only looking at the character itself and its controls.


Danny Ngan
Animator | Amaze Entertainment
my website | my blog | my job
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads