From 6ecbcc226e572aa41c86e7f11b3fbd957dbfb354 Mon Sep 17 00:00:00 2001 From: John Colombo Date: Wed, 3 Apr 2019 21:01:01 +0000 Subject: [PATCH] Added motionGraphicsTemplateControllerCount, getMotionGraphicsTemplateControllerName(), and setMotionGraphicsControllerName() to CompItem. --- docs/items/compitem.rst | 76 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/docs/items/compitem.rst b/docs/items/compitem.rst index 675ce71..df754c6 100644 --- a/docs/items/compitem.rst +++ b/docs/items/compitem.rst @@ -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 @@ -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()