/// <summary>/// 加载管点的符号库(block)/// </summary>/// <param name="foderPath">文件夹路径</param>public static void LoadPointSymbols(String foderPath){try{DirectoryInfo TheFolder = new DirectoryInfo(foderPath);if (!TheFolder.Exists)return;Document doc = Application.DocumentManager.CurrentDocument;doc.AddBlockDefinition(foderPath);}catch (Exception ex){throw;}}