Hi Dyanmo family,
I am trying to create Floor, ceiling, and wall finishes by room Name. Everything is working perfectly. But the floors are not being created on the constrained level. They’re formed below the assigned level.
Note:- The assigned level and the floor-created level difference was equal to the Project Base point elevation value.
DY000M1_ Create Wall Finish, Ceiling & Floor finish.dyn (41.3 KB)
Hi @Elangonamasu . It worked for me this way. You can try it with Element.SetParameterByName. “Ceiling Height” parameter might be incorrect ?
The actual Floor creation code does a little maths based on the inputs [GitHub Link]
var levelHeight = level.Elevation;
var outlineHeight = (outline.BoundingBox.MinPoint.Z + outline.BoundingBox.MaxPoint.Z) / 2;
var offset = outlineHeight - levelHeight
It sets the floor offset to the average of the outline BoundingBox - it may be worth checking if the finish curve Z values are the same as the intended level.