Benny Keyaerts Posted January 9, 2017 Share Posted January 9, 2017 Hello, I've already learned a lot by reading your topics but this is something I can not find. I have a rectangle and want to have the possibility to change its colour to green when the priority is 'low', orange when the priority is 'medium' and red when the priority is 'urgent'. I can change the colour with the If node when I want to change between two colours but how can I change between the three? The test is always a boolean so I can not choose from a list. Is this possible? Thanks in advance for your help. Quote Link to comment
Oachl Kini Posted January 9, 2017 Share Posted January 9, 2017 This is possible, but it is a bit tricky using Marionette. And I wouldn't use the If Node, I found it to be rarely helpful. In this case I would use Get Item - I made a short example with a radio button :-) Change color.vwx 2 Quote Link to comment
Benny Keyaerts Posted January 9, 2017 Author Share Posted January 9, 2017 Thanks. This is exactly what I needed. Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 9, 2017 Vectorworks, Inc Employee Share Posted January 9, 2017 Oachl Kini's answer works great, but for future reference (and if the one or more of the different outputs is in list format) here is how you can do it with the If node. 3ChoiceIfStatement.vwx 1 Quote Link to comment
Benny Keyaerts Posted January 12, 2017 Author Share Posted January 12, 2017 Ok, this works as well but I will be using Oachl Kini's way. Its more transparent and it leaves more room for extra colours. Thanks a lot. Amazing how quickly you get an answer on this forum! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.