Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: HP3623 on July 21, 2016, 07:07:37 PM
-
Hello,
I want so dynamically set the evenly count on a linear generator. First I tried to set the count via expression using "XSectionLength" as the condition, that didn't work. I then tried to set it via "XSplineMatID" but that is also only returning one value, regardless of what material id I set. Can someone tell me what could be the mistake?
-
Hi,
Unfortunately it isn't currently supported to set the evenly count mode using an expression in a way that would return a different value for each spline. It is possible however using a technique which we originally posted before Count mode was introduced. You can read about it and download some sample scenes from here. http://forum.itoosoft.com/index.php?topic=2385.msg9030#msg9030
Another option might be to add the segments to the Corner input instead of the Eveny, and divide the spline to add vertices that place the objects.
(http://i.imgur.com/ncQ05lJ.png)
I hope that helps, please let me know if you have any further questions.
Many Thanks,
Paul
-
don't want to make a new thread, so checking in in this one to see if it's possible yet to
have an evenly count set by XSectionLength
-
Still not available in 2020? :-\
Are you planning to introduce this feature (wiring an expression to Evenly/Default Count Input) in the future?
Maybe it'd be easier to create some Macro which would emulate that kind of behavior?
Best regards
-
I've made a workaround (attached) but it's far from perfect.