Hello guys please,
I would like to generate on the spline object that consist of "Corner", "Mid section" and "End".
Unfortunately it doesnt work.
Here is test.max 2016. With almost working solution, but first section doesnt work and I dont know why.
### Spline ID
id 1 = empty
id 2 = some another test object just for testing purpose
id 3 = object that should be generated (3x parts "start, middle section, end section" but one of the section doesnt work and I dont know why)
--- Here is condition for ID 3 that should generate 3x parts but it somehow doesnt work----
return
if (XSplineMatID != 3 && XSplineNextMatID == 3, 2,
if (XSplineMatID == 3 && XSplineNextMatID == 3, 3,
if (XSplineMatID == 3 && XSplineNextMatID != 3, 4,
1)));