Sync Channels
Moderators: Víctor Paredes, Belgarath, slowtiger
Sync Channels
Is there a way to sync channels in a reference layer using code? I can't seem to find the function.
- hayasidist
- Posts: 3831
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Sync Channels
first of all a health warning -- I've never used this function, so I can't tell you what needs to be done before / after!
but hopefully this will set you on the way : MohoLayer:UpdateReferencedLayer(syncOptions) -- see: http://mohoscripting.com/index.php?show ... er&id=1117
but hopefully this will set you on the way : MohoLayer:UpdateReferencedLayer(syncOptions) -- see: http://mohoscripting.com/index.php?show ... er&id=1117
Re: Sync Channels
This doesn't say anything about updating the channels though. I'm trying to find a way to sync the channels with the reference source.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Sync Channels
That should sync all channels for that layer. Are you needing to selectively sync channels?
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Sync Channels
Yeah, I was planning to create a script that would iterate through all layers and sync certain channels to their source.
- synthsin75
- Posts: 10253
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Sync Channels
Sorry, I'm not seeing any access to resyncing individual channels by script. And UpdateReferencedLayer doesn't do the channels either.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Sync Channels
Okay, I'll go ahead and make a ticket regarding this. There definitely needs to be a better way for managing reference layers.
Re: Sync Channels
I actually already created a ticket for this problem:
https://mantis.smithmicro.com/view.php?id=39002
It was targeted for the 12.2 release but doesn't seem to have been included.
https://mantis.smithmicro.com/view.php?id=39002
It was targeted for the 12.2 release but doesn't seem to have been included.