Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: IT1371 on September 11, 2015, 11:50:55 AM

Title: More then one limit ID per generetor
Post by: IT1371 on September 11, 2015, 11:50:55 AM
The Material ID setting can only be set as one value at a time (Equal/Not/Greater/Less)
Can you make an additional option to set many ID number? Like 1,2,6,7 and then it will ignore 3-5?

I have some ideas for my library and this is the only limitation.
Title: Re: More then one limit ID per generetor
Post by: Paul Roberts on September 11, 2015, 12:10:02 PM
Hi,

Thanks for the suggestion, I'll add it to our wishlist. Until then there are a couple of ways you might be able to achieve this. The easiest would be to duplicate the Generator and change the Limits parameters for each material ID you'd like it to support. It's not ideal because it creates a larger graph,  but it would work fine.

Alternatively you could limit the segments instead of the generator using several Conditional operators,  or By exporting their On/Off property and wiring an expression that tests for multiple IDs, For example:

if(XSplineMatID = 1 | XSplineMatID = 2 | XSplineMatID = 6 | XSplineMatID = 7,1,0)

Unfortunately this doesn't work for generators at the moment.

I hope that helps.

Many thanks!

Paul.

Title: Re: More then one limit ID per generetor
Post by: IT1371 on September 13, 2015, 08:43:49 AM
Conditional operators helped me out.  :D
Thank you.