ParseSpace.cs 998 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*-------------------------------------------------------------------------
  2. * 功能描述:ParseSpace
  3. * 作者:xulisong
  4. * 创建时间: 2019/6/17 14:28:03
  5. * 版本号:v1.0
  6. * -------------------------------------------------------------------------*/
  7. using System;
  8. using System.Collections.Generic;
  9. using System.Linq;
  10. using System.Text;
  11. using System.Threading.Tasks;
  12. using Autodesk.Revit.DB.Mechanical;
  13. using RevitExport;
  14. namespace RevitToJBim.ComponentParse
  15. {
  16. public class ParseSpace : ParseBase
  17. {
  18. public override string FastIndex()
  19. {
  20. return typeof(Space).ToString();
  21. }
  22. public override bool Match(ElementWrapper wrapper)
  23. {
  24. return wrapper.RefElement is Space;
  25. }
  26. public override void Parse(ElementWrapper wrapper, JBimParseContext context)
  27. {
  28. var bimId=context.GetBimId(wrapper.RefElement.Id.ToString());
  29. throw new NotImplementedException();
  30. }
  31. }
  32. }