Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: NK2971 on March 01, 2019, 10:44:20 AM

Title: Why is it 0?
Post by: NK2971 on March 01, 2019, 10:44:20 AM
Why is it 0?
(https://i.imgur.com/1OhjX7r.png)
Title: Re: Why is it 0?
Post by: Dragan on March 01, 2019, 11:37:01 AM
I guess
5.663/100=0.0563  >>ruond = 0
5.663/10=0.5663 >>round = 1
Title: Re: Why is it 0?
Post by: NK2971 on March 01, 2019, 12:44:09 PM
Sorry.

System Unit = cm

I think
566.3/100=5.663 >> round = 6

In addition,

int N = XSplineLength

Even so return 0...
Title: Re: Why is it 0?
Post by: iToo on March 02, 2019, 10:08:45 AM
Hi, when the "Evenly Count" parameter is evaluated, the spline is not ready yet within the RailClone workflow, and the expression returns 0.
In fact, the spline is not ready until the Evenly process is completed (and the Count parameter is needed for that).

I will check if we can modify it a bit, and provide a preliminar value to the Expression, so it returns the right length.