618550
677
Verklein
Vergroot
Pagina terug
1/761
Pagina verder
671
Expressions and automation
Last updated 11/30/2015
2 Optionally, modify the default expression in the expression field.
Note: If you use the pick whip to create an expression to refer to a layer, and that layer has the same name as another layer
in the same composition, then the targeted layer’s name changes. The new layer name is the old layer name with a numeral
at the end. This change is necessary to ensure that the expression unambiguously refers to a single layer in the composition.
Edit an expression manually
1 Click in the expression field to enter text-editing mode.
Note: When you enter text-editing mode, the entire expression is selected. To add to the expression, click within the
expression to place the insertion point; otherwise, you will replace the entire expression.
2 Type and edit text in the expression field, optionally using the Expression Language menu.
To see more of a multiline expression, drag the bottom or top of the expression field to resize it.
3 To exit text-editing mode and activate the expression, do one of the following:
Press Enter on the numeric keypad.
Click outside the expression field.
Example: Use the expression language reference to write an expression
Follow along with this example to learn how to use the After Effects expression language reference to write expressions.
The expression created in this example links the Position property of Solid 2 to the Position property of Solid 1, with
the movement of Solid 2 offset by 2 seconds from the movement of Solid 1.
1 Create two solid layers: Solid 1 and Solid 2.
2 Animate the Position property values for Solid 1 using keyframes. (See About animation, keyframes, and
expressions.)
3 Select the Position property for Solid 2 and choose Animation > Add Expression or Alt-click (Windows) or Option-
click the stopwatch
button for the property. The following expression appears by default:
transform.position
4 Type the following directly over transform.position:
thisComp
5 The element thisComp is a global attribute whose value is a Comp object representing the current composition. To
determine what can follow thisComp in your expression, look up the return value for thisComp under
Global
objects, attributes, and methods (expression reference).
Note that thisComp returns a Comp object. Next, look at Comp attributes and methods (expression reference)to see
which attributes and methods you can use with a Comp object. One option is layer(index). The index, or number,
inside the parentheses specifies the layer that you want to use. For this example, we assume that Solid 1 is the first
layer in your composition. To retrieve values from the first layer in the active composition, type .layer(1) at the end
of the expression, to get the following:
thisComp.layer(1)
6 Again, look at the expression elements reference to see that layer(index) returns a Layer object. Look at Layer
General attributes and methods (expression reference), and find the element you want to use. For example, if you
want to get the values of the Position property for the layer, type .position at the end of the expression to get the
following:
thisComp.layer(1).position
677

Hulp nodig? Stel uw vraag in het forum

Spelregels

Misbruik melden

Gebruikershandleiding.com neemt misbruik van zijn services uitermate serieus. U kunt hieronder aangeven waarom deze vraag ongepast is. Wij controleren de vraag en zonodig wordt deze verwijderd.

Product:

Bijvoorbeeld antisemitische inhoud, racistische inhoud, of materiaal dat gewelddadige fysieke handelingen tot gevolg kan hebben.

Bijvoorbeeld een creditcardnummer, een persoonlijk identificatienummer, of een geheim adres. E-mailadressen en volledige namen worden niet als privégegevens beschouwd.

Spelregels forum

Om tot zinvolle vragen te komen hanteren wij de volgende spelregels:

Belangrijk! Als er een antwoord wordt gegeven op uw vraag, dan is het voor de gever van het antwoord nuttig om te weten als u er wel (of niet) mee geholpen bent! Wij vragen u dus ook te reageren op een antwoord.

Belangrijk! Antwoorden worden ook per e-mail naar abonnees gestuurd. Laat uw emailadres achter op deze site, zodat u op de hoogte blijft. U krijgt dan ook andere vragen en antwoorden te zien.

Abonneren

Abonneer u voor het ontvangen van emails voor uw Adobe After Effects CC - 2015 bij:


U ontvangt een email met instructies om u voor één of beide opties in te schrijven.


Ontvang uw handleiding per email

Vul uw emailadres in en ontvang de handleiding van Adobe After Effects CC - 2015 in de taal/talen: Engels als bijlage per email.

De handleiding is 25,13 mb groot.

 

U ontvangt de handleiding per email binnen enkele minuten. Als u geen email heeft ontvangen, dan heeft u waarschijnlijk een verkeerd emailadres ingevuld of is uw mailbox te vol. Daarnaast kan het zijn dat uw internetprovider een maximum heeft aan de grootte per email. Omdat hier een handleiding wordt meegestuurd, kan het voorkomen dat de email groter is dan toegestaan bij uw provider.

Andere handleiding(en) van Adobe After Effects CC - 2015

Adobe After Effects CC - 2015 Gebruiksaanwijzing - Deutsch - 845 pagina's


Uw handleiding is per email verstuurd. Controleer uw email

Als u niet binnen een kwartier uw email met handleiding ontvangen heeft, kan het zijn dat u een verkeerd emailadres heeft ingevuld of dat uw emailprovider een maximum grootte per email heeft ingesteld die kleiner is dan de grootte van de handleiding.

Er is een email naar u verstuurd om uw inschrijving definitief te maken.

Controleer uw email en volg de aanwijzingen op om uw inschrijving definitief te maken

U heeft geen emailadres opgegeven

Als u de handleiding per email wilt ontvangen, vul dan een geldig emailadres in.

Uw vraag is op deze pagina toegevoegd

Wilt u een email ontvangen bij een antwoord en/of nieuwe vragen? Vul dan hier uw emailadres in.



Info