Itoo Software Forum

Author Topic: Spline ID  (Read 368 times)

arch3d

  • Newbie
  • *
  • Posts: 27
    • arch3d.pl
Spline ID
« on: May 30, 2017, 08:35:48 AM »
Hi all.

Paul i have some problem with spline ID
I have RC object with material ID controlled by arithmetic expression (screen_01.jpg). Everything works fine until I got same ID (screen_02.jpg). If I assign different ID corner  object ( compose of two elements ) doesn't work as I expect. Any idea?

Please find attached sample

Thanks for help,
Michal

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1396
Re: Spline ID
« Reply #1 on: May 30, 2017, 11:12:26 AM »
Hi Michal,

In RC3 (please feel free to download the RailClone Pro 3.0.3 beta), to handle this kind of situations, there are two attributes: XSplineMatID & XSplineNextMatID.

The XSplineMatID for Corners returns ID of segment BEFORE the corner and the XSplineNextMatID, which in case of Corners returns ID of segment AFTER the corner. Attaching the modified scene (to open it correctly, the RC3 is needed). Hope that helps.

Best regards,

arch3d

  • Newbie
  • *
  • Posts: 27
    • arch3d.pl
Re: Spline ID
« Reply #2 on: May 30, 2017, 12:27:09 PM »
Michal,

Thank you very much for quick respond.
Ill try it:)

Best regards,
Michal