Itoo Software Forum

Author Topic: 2S Parameteric window tutorial  (Read 12356 times)

fadyasu

  • Newbie
  • *
  • Posts: 9
2S Parameteric window tutorial
« 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,
                       ^

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: 2S Parameteric window tutorial
« Reply #1 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.
Rokas

fadyasu

  • Newbie
  • *
  • Posts: 9
Re: 2S Parameteric window tutorial
« Reply #2 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

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: 2S Parameteric window tutorial
« Reply #3 on: September 17, 2019, 09:14:51 PM »
Hi, would You please attach Your file so we can check it?
« Last Edit: September 17, 2019, 09:19:23 PM by Rokas »
Rokas

fadyasu

  • Newbie
  • *
  • Posts: 9
Re: 2S Parameteric window tutorial
« Reply #4 on: September 18, 2019, 09:54:32 AM »
here is the file

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: 2S Parameteric window tutorial
« Reply #5 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. Only then we can provide a personalized help.

iToo Software team.
Rokas

fadyasu

  • Newbie
  • *
  • Posts: 9
Re: 2S Parameteric window tutorial
« Reply #6 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

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: 2S Parameteric window tutorial
« Reply #7 on: September 18, 2019, 03:16:52 PM »
Please contact us and we will offer our student pricing for You.
Rokas