添加项目文件。
This commit is contained in:
17
KGdev.BI3D.Revit/Implementations/DefaultElementIdProvider.cs
Normal file
17
KGdev.BI3D.Revit/Implementations/DefaultElementIdProvider.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using Autodesk.Revit.DB;
|
||||
using KGdev.BI3D.Revit.Common;
|
||||
using KGdev.BI3D.Revit.Common.Models;
|
||||
|
||||
namespace KGdev.BI3D.Revit.Implementations
|
||||
{
|
||||
internal class DefaultElementIdProvider : IElementIdProvider
|
||||
{
|
||||
public string GetElementId(LinkedElementIdPath elementIdPath)
|
||||
{
|
||||
return string.Join<ElementId>("-", elementIdPath.ElementIds);
|
||||
}
|
||||
|
||||
private const string SEPARATOR = "-";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user