Itoo Software Forum

Author Topic: XSplineType expression not working  (Read 540 times)

nubo

  • Jr. Member
  • **
  • Posts: 61
XSplineType expression not working
« on: November 15, 2022, 01:49:35 PM »
Hi,

We're having problem with XSplineType expression, which doesn't seem to be able to read the value from the spline segment properly and always outputs "0" regardless if it's line or curve.
Was it fixed in RC 5.2.x ? We're still using 5.1.2 release, because we're on a big, long running project since February and we really don't want anything to get messed up by the update.

Best Regards,
Przemek

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: XSplineType expression not working
« Reply #1 on: November 15, 2022, 02:40:55 PM »
Hi,

Yes, that‘s fixed since the RailClone Lite/Pro 5.2.3: “Fixed: Conditional->Line/Curve doesn't work well.”

Best regards,

nubo

  • Jr. Member
  • **
  • Posts: 61
Re: XSplineType expression not working
« Reply #2 on: November 15, 2022, 03:04:26 PM »
Thanks for a quick answer!

It's good to know, now I want to finish that project already even more.  ;D
Q1 How big is the risk of some of our own custom styles not working properly after updating from 5.1.2 to the latest release?
Q2 Should I delete this topic?

Best Regards

[EDIT]
I've decided to give 5.2.8 a try and it looks like the old styles are not affected in any negative way.
« Last Edit: November 15, 2022, 06:07:11 PM by nubo »

nubo

  • Jr. Member
  • **
  • Posts: 61
Re: XSplineType expression not working
« Reply #3 on: November 16, 2022, 11:00:58 AM »
OK, so we've updated RC to v5.2.8 and the issue still persists.
Maybe I'm doing something wrong?  :(
Please check the attached preview and the test scene.

P.

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: XSplineType expression not working
« Reply #4 on: November 16, 2022, 12:28:34 PM »
Hi,

Well, though the vertex type is set to Corner, the spline segment type is set to Curve for these – by changing it to Line it’s behaving as expected. Please find attached the modified scene (221116_RC XSplineType issue_iToo.max). I hope that clears it up.

Best regards,

nubo

  • Jr. Member
  • **
  • Posts: 61
Re: XSplineType expression not working
« Reply #5 on: November 16, 2022, 12:59:30 PM »
Thank you Michal!  :)

I wasn't even aware of the existence of such feature as assigning Line/Curve label to the segment, since it's not available from the command panel but from the quad menu only.
Somehow I assumed that the straightness or curvature is only determined by the actual shape of the segment.
Everyday there's something new to learn about my 'beloved' 3DS Max...  ;D

Thanks again,
Przemek