Itoo Software Forum

Author Topic: RC 4 Marker Expressions problem.  (Read 458 times)

Jacques

  • Newbie
  • *
  • Posts: 5
RC 4 Marker Expressions problem.
« on: October 30, 2019, 05:34:04 AM »
Hi everyone.
I've been trying to make a windows style. Like the one in the marker video but a little bit simpler.
I want to be able to control the windows height and width using Marker data.
So far I was able to nest to Generators in order to compose the windows.
I can use numeric values to modify overall height and width, and the opening as well.

But somehow, im not being able to use the data in the RC Spline modifier.
Im using the expresision "return XMarkerData[0];" but I get an error.

Thanks, Jacques

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1756
Re: RC 4 Marker Expressions problem.
« Reply #1 on: October 30, 2019, 10:50:13 AM »
Hi Jacques,

Without seeing your style I can't be sure, but it could be because you are not telling RailClone which generator to read the marker data from. Please see this entry in our documentation about how to reference marker data when using nexted generators: https://docs.itoosoft.com/railclone/style-editor/nesting-generators-new-in-rc4#NestingGenerators(NewinRC4)-Touseexpressionswithnestedgenerators

I hope that helps, please let me know if you have any further questions.

Paul
Paul Roberts
iToo Software

Jacques

  • Newbie
  • *
  • Posts: 5
Re: RC 4 Marker Expressions problem.
« Reply #2 on: October 30, 2019, 04:50:52 PM »
Hi Paul, thanks for your reply

I thought i had attached the style.
Nevertheless, I looked into the documentation you linked and tried it out. Still not working.

I tried to attach the file but I keep getting a 500 Internal Server Error. Both from home and the office.
The file is 2600 kbs
« Last Edit: October 30, 2019, 04:53:01 PM by Jacques »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1756
Re: RC 4 Marker Expressions problem.
« Reply #3 on: October 30, 2019, 04:59:33 PM »
Hi Jacques, thanks for getting back to me. We'll look into that file error. Meanwhile, if possible email your file to helpdesk@itoosoft.com and I'll take a look.

All the best,

Paul
Paul Roberts
iToo Software

Jacques

  • Newbie
  • *
  • Posts: 5
Re: RC 4 Marker Expressions problem.
« Reply #4 on: October 30, 2019, 05:08:18 PM »
Paul, I just sent you the file.

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1756
Re: RC 4 Marker Expressions problem.
« Reply #5 on: October 30, 2019, 06:00:15 PM »
Hi Jacques,

Thanks for the file - it is very helpful. We may have identified a bug here that affects using marker data when generators are nested inside an A2S generator. It seems the referencing system is not working correctly. We are looking into it and hope to have a more definite answer and a fix soon.

In the meantime, a possible solution may be to nest the window into an L1S generator instead. Using generators nested inside L1S arrays appears to be unaffected by this suspected bug. I will send you your file with the style modified to illustrate.

Apologies for the inconvenience, I hope we can get this fixed quickly.

All the best,

Paul
Paul Roberts
iToo Software

Jacques

  • Newbie
  • *
  • Posts: 5
Re: RC 4 Marker Expressions problem.
« Reply #6 on: October 30, 2019, 06:12:41 PM »
Thanks Paul