添加项目文件。

This commit is contained in:
GG Z
2024-01-08 09:30:50 +08:00
commit 1ccc4b3047
85 changed files with 5904 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
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)
};
}
}
}