using System;
using Tekla.Structures.Drawing;
using Tekla.Structures.Model;
DrawingHandler MyDrawingHandler = new DrawingHandler();
if (MyDrawingHandler.GetConnectionStatus())
{
//获取图纸列表选中的图纸
DrawingEnumerator SelectedDrawings = MyDrawingHandler.GetDrawingSelector().GetSelected();
while (SelectedDrawings.MoveNext())
{
SelectedDrawings.Current.Delete();//删除图纸
}
}