Itoo Software Forum

RailClone => RailClone Lite => Topic started by: fadyasu on September 16, 2019, 10:44:04 PM

Title: 2S Parameteric window tutorial
Post by: fadyasu on September 16, 2019, 10:44:04 PM
for the window link tutorial
[ https://www.youtube.com/watch?v=bhICkZ3873A&list=PLlAvqHxFNuHwhl87piHkunOH1VlazcDFi&index=6 ]
everything is smooth expect in making arthimatic formula
if (YSplinePosition=0,3,if(YSplinePosition=1,1,2)
i think it i am making it right but i gives me strange errors  any help please ?


Parse error. Expected ')' or ',' in argument list at line 1:
if(YSplinePosition=0,3,
                       ^
Title: Re: 2S Parameteric window tutorial
Post by: Rokas on September 17, 2019, 07:14:17 AM
Since RailClone 3 we have more powerful expression editor, though it requires a little modifications from v2.

expression "-1*(Input/4)" in v2 should be written in v3 like this:
return -1*(Input/4);

in Your example  "=" should be replaced with "=="

You should add "return" in start of "expression" and end it with ";"

so Your example in RC3 should be written like this:
return if (YSplinePosition==0,3,if(YSplinePosition==1,1,2) ;

Hope this helps.
Title: Re: 2S Parameteric window tutorial
Post by: fadyasu on September 17, 2019, 07:04:06 PM
oh thanks  that's  work without error but why there is no effect of the expression on the window
Title: Re: 2S Parameteric window tutorial
Post by: Rokas on September 17, 2019, 09:14:51 PM
Hi, would You please attach Your file so we can check it?
Title: Re: 2S Parameteric window tutorial
Post by: fadyasu on September 18, 2019, 09:54:32 AM
here is the file
Title: Re: 2S Parameteric window tutorial
Post by: Rokas on September 18, 2019, 10:33:56 AM
Hi fadyasu,

Thanks for trusting RailClone in Your workflow, unfortunately we can only ask You to use legitimate software version, which You are not using.

Please consider purchasing it here (https://www.itoosoft.com/railclone). Only then we can provide a personalized help.

iToo Software team.
Title: Re: 2S Parameteric window tutorial
Post by: fadyasu on September 18, 2019, 11:14:02 AM
am still a student and you don't offer student version :/
as you know am egyptian and that cost too much to purchase
Title: Re: 2S Parameteric window tutorial
Post by: Rokas on September 18, 2019, 03:16:52 PM
Please contact us (https://www.itoosoft.com/contact) and we will offer our student pricing for You.