Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Rio on September 16, 2022, 04:53:10 PM

Title: Selector from marker user data
Post by: Rio on September 16, 2022, 04:53:10 PM
Is it possible to drive a selector operator with marker user data channel?

I'm guessing not as it's done with marker ID in the help example.
I have 9 door types that I'd like to control their open/close status with a user data channel ideally.
Title: Re: Selector from marker user data
Post by: Paul Roberts on September 16, 2022, 05:14:34 PM
Yes, you can use data channels. There's not an option available directly in the Selector operator, but you can export the Index and wire it either

an Arithmetic operator with the code XMarkerData[0]; (the number in brackets determines which data channel to use)

or

The X Spline Variables macro with Data Channel selected.

(https://i.imgur.com/hmKowNp.png)

I hope that helps,

Paul
Title: Re: Selector from marker user data
Post by: Rio on September 20, 2022, 01:53:54 PM
Thanks, I'd forgotten all about that for some reason.

One more: is it possible to drive fixed segment size override with marker data. I can get it set up switching between 2 values with a logic switch, but I might have more options that that
Title: Re: Selector from marker user data
Post by: Paul Roberts on September 20, 2022, 07:44:39 PM
Sure! Shouldn’t be an issue. If the value is zero it uses the original size of the segment so you shouldn’t really need to turn it on and off either.

Paul.