Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Crayox on June 02, 2021, 04:33:00 PM

Title: Parking lines with spline ID for invalid
Post by: Crayox on June 02, 2021, 04:33:00 PM
Hi guys,
so a very banal question. I exported x evenly distance from my linear generator and I want to change its value depending on spline ID (to select from normal and invalid parking spaces). Selector, it seems, can't select constants. Which was my first approach, I would select which value to input to x evenly distance based on spline mat ID.

Second was this arithmetic
return if(XSplineMatID==1, 250, 310);
I can plug it but it's not working either. Does it not know which spline? I mean there's only one.

Thanks!
Title: Re: Parking lines with spline ID for invalid
Post by: Rokas on June 02, 2021, 04:38:54 PM
evenly is special. It is evaluated only once and cant be changed dynamically throughout the spline.

Why dont You attach Your max file and tell us what You want to do.
Title: Re: Parking lines with spline ID for invalid
Post by: Crayox on June 02, 2021, 04:40:41 PM
Oh ok, didn't know that. Thanks! Just adding a vertex before bigger parking spots helps too actually.