GetEmbed()
Updated: 6 Sep 2024
Updated: 6 Sep 2024
Retrieves the embedded node object with the given index.
object GetEmbed(int node_index);
node_index | The array index of the embedded nodes. |
returns Node Object if found or, if not found, object of type undefined.
function Update()
{
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Image 2D");
numEmbeds = node.GetNumEmbeds();
for (i = 0; i < numEmbeds; i++)
{
embed = node.GetEmbed(i);
}
}