LayerComp:AutoAddChildLayers(doc, parent)
Version added: before 9.5
Add child layers to the comp as needed
Arguments:
| Name | Type | Description | Default | Ver |
| doc | MohoDoc | < 9.5 | ||
| parent | GroupLayer | NULL | < 9.5 |
Return value:
bool
AutoAddChildLayers adds child layers to the comp as needed according to the settings for the comp.
Returns true if the comp was modified.
To scan all layers in the doc, pass NULL for parent.
See also:
LayerComp:AutoAddsSwitchLayerChildren
LayerComp:SetAutoAddsSwitchLayerChildren
LayerComp:AutoAddsGroupLayerChildren
LayerComp:SetAutoAddsGroupLayerChildren
<< Back to LayerComp
Returns true if the comp was modified.
To scan all layers in the doc, pass NULL for parent.
See also:
LayerComp:AutoAddsSwitchLayerChildren
LayerComp:SetAutoAddsSwitchLayerChildren
LayerComp:AutoAddsGroupLayerChildren
LayerComp:SetAutoAddsGroupLayerChildren