Itoo Software Forum

Author Topic: Parameterising Windows with RailClone  (Read 49369 times)

Sknueppel

  • Newbie
  • *
  • Posts: 7
Re: Parameterising Windows with RailClone
« Reply #75 on: March 22, 2021, 03:55:36 PM »
Hey there,
I got a question regarding the creation of a window handle.

I got several attempts in trying to get a handle onto the windowframe.
The first one, was to try it with conditional nodes. Like it was written in this forum.
If the position is greater than 49% and smaller than 51 percent please set it. but it didnt work out


So my question was to automatise the position in the middle of the spline.
But it didnt realy work, Then I tried it like in the tutorial for the window return if(Splinelength == 0,1, if splinelength ==1,2,3)); but didnt work either (I m pretty sure if just done something wrong.
I realy like this tool, but it shows me my limits pretty fast ^^

It would be gereat to get a Syntax that is asking the length of the spline and puts something in the middle (if this is possible)

Thanks in advance

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 3261
    • iToo
Re: Parameterising Windows with RailClone
« Reply #76 on: March 22, 2021, 04:27:09 PM »
Thank You for attaching max file. it helps to help You.

There is an automatic syntax for You:
Quote
return Array_2S1.YSplineLength/2;

Attached modified file as well. Hope this helps
Rokas
iToo Software

Sknueppel

  • Newbie
  • *
  • Posts: 7
Re: Parameterising Windows with RailClone
« Reply #77 on: March 22, 2021, 04:54:05 PM »
Thank you very much for the super quick reply,
 I ll have a look at it tomorrow.

Greetings