Itoo Software Forum

Author Topic: Can railclone use a named reference line to generate?  (Read 894 times)

BK8837

  • Newbie
  • *
  • Posts: 38
Can railclone use a named reference line to generate?
« on: April 11, 2024, 05:07:18 AM »
Hello Itoo Dev Team,
Is there a way a Railclone graph can find a name of specific line and adopt as spline to generate. Is there a script for this?

Example: If merge a Railclone to my scene can the RC  find "Line001" and use that as the generator?

Thank you!

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2568
Re: Can railclone use a named reference line to generate?
« Reply #1 on: April 11, 2024, 09:05:59 AM »
Hi,

Yes, you can reassign the Base Spline via maxscript in the following way (the index of the Object Node might differ based on your style):
Code: [Select]
$RailClone001.banode[1] = $Line001; I hope that helps.

Best regards,