Hi,

First to explain what I am trying to do with RCP. I'm trying to make a sliding door model that allows me to pull open the sliding door frame along the x axis, the height of the frame in the Y axis, and automatically populate sliding doors inside the frame, but I want them to be in the open position. I also have a Boolean parameter to control if model has 2 or 3 doors, then a parameter controlling the percentage of the door width would be 50% for 2 doors, 33% for 3 doors, etc.

I have tried using an expression that divides the length of the X spline and multiplies it by 30 percent to achieve this but it seems that the value leaving the expression block is not valid for a value entering the segments parameters.

I have attached some screenshots of the model i'm trying to achieve and the expression i'm having issues with.

Any help would be greatly appreciated.

First to explain what I am trying to do with RCP. I'm trying to make a sliding door model that allows me to pull open the sliding door frame along the x axis, the height of the frame in the Y axis, and automatically populate sliding doors inside the frame, but I want them to be in the open position. I also have a Boolean parameter to control if model has 2 or 3 doors, then a parameter controlling the percentage of the door width would be 50% for 2 doors, 33% for 3 doors, etc.

I have tried using an expression that divides the length of the X spline and multiplies it by 30 percent to achieve this but it seems that the value leaving the expression block is not valid for a value entering the segments parameters.

I have attached some screenshots of the model i'm trying to achieve and the expression i'm having issues with.

Any help would be greatly appreciated.