logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Fountain Kamanga  
#1 Posted : Thursday, February 17, 2022 6:09:03 AM(UTC)
Fountain Kamanga

Rank: Advanced Member

Groups: Registered
Joined: 11/2/2018(UTC)
Posts: 44
Malawi
Location: Blantyre

Thanks: 6 times
I am requesting a colour binding feature whereby colours for different layers are tied to a single layer's colour property; when that particular layer colour is changed it be reflected to all layers bound to it.

Thanks.
sontoloyo  
#2 Posted : Thursday, February 17, 2022 9:45:20 AM(UTC)
sontoloyo

Rank: Advanced Member

Groups: Registered
Joined: 7/6/2013(UTC)
Posts: 45
Man
Malaysia
Location: Slangor

Thanks: 25 times
Was thanked: 4 time(s) in 4 post(s)
+1
doggy  
#3 Posted : Thursday, February 17, 2022 9:53:33 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,214
Belgium
Location: Belgium

Thanks: 290 times
Was thanked: 952 time(s) in 787 post(s)
?
Fountain Kamanga  
#4 Posted : Thursday, February 17, 2022 3:11:32 PM(UTC)
Fountain Kamanga

Rank: Advanced Member

Groups: Registered
Joined: 11/2/2018(UTC)
Posts: 44
Malawi
Location: Blantyre

Thanks: 6 times
Originally Posted by: doggy Go to Quoted Post
?


I mean, if we have three solid layers of the colour orange, only one will be set to be visible in vMix. The other two will be getting the colour properties from the visible one.

Likewise, if there are several layers of the same colour, we would do the same.

This will help us avoid copying colours manually to several layers and will keep the design colours in harmony.

Thanks.
doggy  
#5 Posted : Thursday, February 17, 2022 6:59:37 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,214
Belgium
Location: Belgium

Thanks: 290 times
Was thanked: 952 time(s) in 787 post(s)
Originally Posted by: Fountain Kamanga Go to Quoted Post
I mean, if we have three solid layers of the colour orange, only one will be set to be visible in vMix. The other two will be getting the colour properties from the visible one.

Likewise, if there are several layers of the same colour, we would do the same.

This will help us avoid copying colours manually to several layers and will keep the design colours in harmony.

Thanks.


First off one can not assign colors to layers in a GT title , you can however to TextBlocks and in the upcomming v25 to shapes'.

There are different ways to say synchronize the color changing of a rectangle for example :
Have one shortcut change to color for all the wanted elements
or using a script that reads the color setting of one shape and applies that color to the others (v25 API.XML will let you read the current color of a shape)



Fountain Kamanga  
#6 Posted : Thursday, February 17, 2022 9:13:21 PM(UTC)
Fountain Kamanga

Rank: Advanced Member

Groups: Registered
Joined: 11/2/2018(UTC)
Posts: 44
Malawi
Location: Blantyre

Thanks: 6 times
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: Fountain Kamanga Go to Quoted Post
I mean, if we have three solid layers of the colour orange, only one will be set to be visible in vMix. The other two will be getting the colour properties from the visible one.

Likewise, if there are several layers of the same colour, we would do the same.

This will help us avoid copying colours manually to several layers and will keep the design colours in harmony.

Thanks.


First off one can not assign colors to layers in a GT title , you can however to TextBlocks and in the upcomming v25 to shapes'.

There are different ways to say synchronize the color changing of a rectangle for example :
Have one shortcut change to color for all the wanted elements
or using a script that reads the color setting of one shape and applies that color to the others (v25 API.XML will let you read the current color of a shape)





I appreciate for the response, but I am taking advantage of the version 25 feature whereby we can set a shape colour options accessible in vMix.

It happens that we have several shapes of the same colour, I wouldn't want all of them show colour options in vMix. I would make one layer's colour options visible and once I change it, all the linked layers should reflect the change.
Thanks. All Layers Showing Colour Options.PNG (104kb) downloaded 1 time(s). Layer Visibility.png (21kb) downloaded 0 time(s). My Request.PNG (54kb) downloaded 0 time(s).
doggy  
#7 Posted : Thursday, February 17, 2022 10:57:33 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,214
Belgium
Location: Belgium

Thanks: 290 times
Was thanked: 952 time(s) in 787 post(s)
Curious how you would envision the workflow in the designer for example.

Yes few lines of script is based on v25 features.

Code:
dim x as new system.xml.xmldocument
x.loadxml(API.XML())
dim Color as string = (x.SelectSingleNode("//input[@title='sample.gtzip']//color[@name='MasterRectangle.Fill.Color']").Innertext)
API.Function("SetColor",Input:="sample.gtzip",SelectedName:="Rectangle1.Fill.Color",Value:=Color)
API.Function("SetColor",Input:="sample.gtzip",SelectedName:="Rectangle2.Fill.Color",Value:=Color)
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.