But I can't find a way to do it in Lua.
Code: Select all
local i
for i = 1, #layers do
layer = layers[i]
if (layer:IsReferencedLayer()) then
--layer:SyncAllChannelsToOriginalLayer()
end
end
If it doesn't exist, are there other things I could try?
I've tried layer:UpdateReferencedLayer(syncOptions), but it only syncs the layer's content, not the channels.