Dynamo XYZ location does not Match with Revit C# XYZ location point or Revit Element Location

Why My Revit C# XYZ Locations not Match with Dynamo XYZ locations.I am trying to get the Locations of Edges of Ceiling and i have successfully done it in both c# and Dynamo but They do not match with each otherdy

Try converting your XYZs to Points using myXyz.ToPoint(). Revit uses decimal feet internally, whereas Dynamo uses whatever your Revit files display units are (mm for example) which is the most common cause of the disparity. ToPoint() performs all the unit conversion for you.

4 Likes

oky Thank you so much for reply i am going to apply this solution :slight_smile:

this solution is working beautifully thank You Again :slight_smile: