Files
KGdev.BI3D.Revit.Addin/KGdev.BI3D.Revit/Implementations/DefaultElementIdProvider.cs

18 lines
447 B
C#
Raw Normal View History

2024-01-08 09:30:50 +08:00
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 = "-";
}
}