Hi,
I was trying to render a stair with custom parameters, which include fields like
totalHeight,
riserHeight
treadDepth
stepNum
treadNum
treadDepthLocked = true
rules.riserHeightMaxValue (same as riserHeight)
rules.treadDepthMaxValue (same as treadDepth)
rules.ruleMaxValue (2*riserHeight + treadDepth)
After rendering the steps using ACAPI_Element_Create, stepNum, riserHeight and treadDepth will be different.
Now I found a quick fix for this by using edit element function ACAPI_Element_Change.
I will edit stepNum, riserHeight and treadDepth fields and call ACAPI_Element_Change, this time it will render exactly how I expect.
Is there any way where I can have create stair in the first go itself?
Also want to know more about this behaviour.