using System; using Autodesk.Revit.DB; namespace KGdev.BI3D.Revit.ExporterV2 { internal static class XYZExtensions { public static Position To3DBIPosition(this XYZ revitXYZ) { return new Position { X = (float)(-(float)revitXYZ.X * 12.0), Y = (float)(revitXYZ.Z * 12.0), Z = (float)(revitXYZ.Y * 12.0) }; } } }