Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Rio on April 21, 2023, 06:56:07 pm

Title: Controlling marker segment width with marker channel data.
Post by: Rio on April 21, 2023, 06:56:07 pm
I tried this with a segment and a nested array, neither seemed to work. Is it possible? Driving segment fixed size/scale or nested array size with marker channel data.

In fact I'm sure I saw a list of all the things you can't do with marker channel data once, anyone care pointing it out to me again? I'm guessing this is one of them.
Title: Re: Controlling marker segment width with marker channel data.
Post by: Rio on April 21, 2023, 08:10:35 pm
Huh, a quick search tells me I've asked this before. Wonder if I ever managed to figure it out
Title: Re: Controlling marker segment width with marker channel data.
Post by: Paul Roberts on April 24, 2023, 10:11:02 am
Hello Rio,

That shouldn't be a problem, double check you are using the correct syntax in your expression. When using nested generators, you have to incorporate the name of the generator from which you wish to retrieve the data. For example, in this graph...

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

 ... you would access the spline connected to the first generator using

return Gen1.XMarkerData[0];

I hope that helps, please let me know if you have any further questions.

All the best,
Paul
Title: Re: Controlling marker segment width with marker channel data.
Post by: Dragan on April 24, 2023, 11:25:47 am
Paul, You are missing X Size on Gen2
Title: Re: Controlling marker segment width with marker channel data.
Post by: Paul Roberts on April 24, 2023, 12:36:26 pm
Thanks Dragan, I was just illustrating the principle here, but I appreciate your eagle eyes  :)

Paul
Title: Re: Controlling marker segment width with marker channel data.
Post by: Dragan on April 24, 2023, 12:59:02 pm
 ;D
You make me test it if I`m missing something all this time  ;D ;D ;D