Itoo Software Forum

Author Topic: Selector from marker user data  (Read 691 times)

Rio

  • Jr. Member
  • **
  • Posts: 80
Selector from marker user data
« 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.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Selector from marker user data
« Reply #1 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.



I hope that helps,

Paul
Paul Roberts
iToo Software

Rio

  • Jr. Member
  • **
  • Posts: 80
Re: Selector from marker user data
« Reply #2 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

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2991
Re: Selector from marker user data
« Reply #3 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.
Paul Roberts
iToo Software