namespace HStation.Hydro
{
///
/// Revit辅助类
///
public class RevitHelper
{
///
/// 创建唯一编码
///
/// 分类
/// 所有组件
/// 唯一编码
public static string CreateUniqueCode(string catalog, List allParterList)
{
var allCodeList = allParterList?.Select(x => x.Code).Distinct().ToList();
var code = UniqueHelper.CreateFromFirst(catalog, allCodeList);
return code;
}
}
}