Skip to content

Commit

Permalink
Added motionGraphicsTemplateControllerCount, getMotionGraphicsTemplat…
Browse files Browse the repository at this point in the history
…eControllerName(), and setMotionGraphicsControllerName() to CompItem.
  • Loading branch information
1Resonant committed Apr 3, 2019
1 parent 00c023e commit 6ecbcc2
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions docs/items/compitem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,26 @@ Integer (between 2 and 64); read/write.

----

.. _CompItem.motionGraphicsTemplateControllerCount:

CompItem.motionGraphicsTemplateControllerCount
*********************************************

``app.project.item(index).motionGraphicsTemplateControllerCount``

.. note::
This functionality was added in After Effects 16.1 (CC 2019)

**Description**

The number of properties in the Essential Graphics panel for the composition.

**Type**

Integer; read-only.

----

.. _CompItem.motionGraphicsTemplateName:

CompItem.motionGraphicsTemplateName
Expand Down Expand Up @@ -571,6 +591,62 @@ Boolean.

----

.. _CompItem.getMotionGraphicsTemplateControllerName:

CompItem.getMotionGraphicsTemplateControllerName()
*********************************************

``app.project.item(index).getMotionGraphicsTemplateControllerName(index)``

.. note::
This functionality was added in After Effects 16.1 (CC 2019)

**Description**

Gets the name of a single property in the Essential Graphics panel.

**Parameters**

========= ===================================================================
``index`` Integer; the index of the EGP property whose name will be returned.
========= ===================================================================

**Returns**

String; read-only.

----

.. _CompItem.setMotionGraphicsControllerName:

CompItem.setMotionGraphicsControllerName()
*********************************************

``app.project.item(index).setMotionGraphicsControllerName(index,newName)``

.. note::
This functionality was added in After Effects 16.1 (CC 2019)

**Description**

Sets the name of a single property in the Essential Graphics panel.

.. note::
To rename a property as it is added to the EGP, see :ref:`Property.addToMotionGraphicsTemplateAs()`.

**Parameters**

=========== =================================================================
``index`` Integer; the index of the EGP property to be renamed.
``newName`` String; the new name for the EGP property.
=========== =================================================================

**Returns**

String; read-only.

----

.. _CompItem.layer:

CompItem.layer()
Expand Down

0 comments on commit 6ecbcc2

Please sign in to comment.