Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: RB2300 on November 17, 2020, 09:14:45 AM
-
Please I have one simple quick question clarify if solution exist...
I am trying use IF condition in advanced way... please is it possible somehow define IF in way of
(if mat_id == 1 ) { select randomize1} elseif ( mat_id == 2 ) { select randomize2} elseif (mat_id == 3) { ... }, .. ,.. ,...
best regards pablo
-
Yes, RC can do it. Use selector node and export index. Wire arithmetic operator and use expression like this:
return
if(XSplineMatID==1,1,
if(XSplineMatID==2,2,
if(XSplineMatID==3,3,
if(XSplineMatID==4,4,5
))));
(https://i.imgur.com/iCUFZur.png)
-
Thanks sir, I really appreciate it. I wish you really nice day. Thanks again