Not fully sure if I understand you correctly but wil give it a try:
To show the misallighment abit better, I have added a wall element, of which the endpoint should be exactly the same as the floor end point:
Grasshopper:
In GH the slope/angle of the geometry is calculated (correctly=26,565 degrees of 0.4636rad), and inputted into th Speckle component.
Export to speckle
Import in Revit:
After importing the floor is generated, with a wrong angle 24,87 (I have no clue how it comes to this value).
As a result the ΔZ-coordinate is incorrect.
Perfect - the data coming from GH into Speckle is all good - I don’t have an install of Revit on my current machine, so will confirm my assumption that the fault is with Revit/RevitConnector as soon as I can get to another.
Ok, thanks.
It looks like a generic problem when export/importing sloped floors.
No matter how the floor geometry looks like… When the floor has an angle, the angle in Revit is incorrect imported. (Meaning at this moment it is not possible to use sloped floors correctly)
Please keep me informed when a solution is available.