Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: arch3d on May 30, 2017, 08:35:48 AM

Title: Spline ID
Post by: arch3d 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
Title: Re: Spline ID
Post by: Michal KarmazĂ­n on May 30, 2017, 11:12:26 AM
Hi Michal,

In RC3 (please feel free to download the RailClone Pro 3.0.3 beta (https://forum.itoosoft.com/index.php?topic=4546.0)), 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,
Title: Re: Spline ID
Post by: arch3d on May 30, 2017, 12:27:09 PM
Michal,

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

Best regards,
Michal