Click or drag to resize

DrawingHandler Methods

返回用户文档首页

The DrawingHandler type exposes the following members.

Methods
 NameDescription
Public methodExportCADDrawing 输出CAD图纸文件
Public methodGetActiveDrawing 获取当前在 LoongSTC 中打开的活动图纸实例
Public methodGetConnectionStatus 检查是否与 LoongSTC 进程建立了正确的连接。 需要 LoongSTC 正在运行且打开了模型。
Public methodGetDrawing 从数据库获取图纸
Public methodGetDrawings 从数据库中获取所有图纸
Public methodGetDrawingSelector 获取图纸选择器。 通过此选择器可以获取当前在图纸列表中选中的图纸。
Public methodGetModelObjectIdentifiers 获取图纸关联的模型对象标识符列表
Public methodIsAnyDrawingOpen 检查是否有图纸处于打开状态
Public methodPrintDrawing(Drawing, PrinterAttributes) 使用指定的打印机属性打印图纸
Public methodPrintDrawing(Drawing, PrinterAttributes, String) 将图纸打印到文件,使用指定的打印机属性和输出文件名。 输出文件会覆盖打印机属性中的文件设置。
Public methodPrintDrawings(ListDrawing, PrinterAttributes) 使用指定的打印机属性批量打印图纸列表
Public methodPrintDrawings(IEnumerableDrawing, PrinterAttributes, String) 使用指定的打印机属性批量打印图纸列表,可指定输出文件名
Top
See Also