Drawing Tapered elements with parameters

Hi there,

I am currently working on a dynamo script to create simple tapered elements.
I ran into a problem where revit started to give me constraints. This might be a revit related issue.

This is the script I am currently running:

It works fine for rectangular elements, but when i use an element like below it starts giving constraints when it fills in the parameter values

I think this happens when both the LB and LO parameter are the same value. After that happens it won’t be able to turn into a tapered element anymore.

Any ideas on how to fix this / or work around it?

Thanks in advance!

does the family really need to be an adaptive component or can you use a regular revit family template?

You can use a parameteric profile
GM_Oak_param.rfa (408 KB)

@Tom_Kunsman
Yes it does for the purpose of the script. I did some adjustments to the script where it sorts out the varying values and the equal values. Hopefully this will make it easier to create some elements.