Click or drag to resize

Document Class

返回用户文档首页
模型文档,包含整个模型所有的对象数据
Inheritance Hierarchy
SystemObject
  LoongCAD.STCDocument

Namespace: LoongCAD.STC
Assembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 2025.0.9.8 (2025.0.9.8)
Syntax
C#
public class Document

The Document type exposes the following members.

Constructors
 NameDescription
Public methodDocument 默认构造函数
Top
Properties
 NameDescription
Public propertyCode exampleComponentOptions 组件首选项
Public propertyDrawingIDs 所有图纸的ID列表
Public propertyDrawings 所有图纸的列表
Public propertyFocusedDrawing 当前打开的图纸
Public propertyFocusedDrawingID 当前打开的图纸ID
Public propertyFocusedScene 当前聚焦的场景
Public propertyGettingFocusedDrawing 获取当前打开图纸的回调方法
Public propertyGettingSelectedDrawings 获取图纸列表中所选择图纸的回调方法
Public propertyOptions 模型首选项
Public propertyPath 模型路径
Public propertySelectedDrawingIDs 图纸列表中选中图纸的ID列表
Public propertySelectedDrawings 图纸列表中选中的图纸
Top
Methods
 NameDescription
Public methodGetAssemblyDrawing 通过构件编号获取构件图
Public methodGetAssemblyDrawingID 通过构件编号获取构件图ID
Public methodGetAssemblyDrawingIDs 通过构件编号组获取构件图列ID列表
Public methodGetAssemblyDrawings 通过构件编号组获取构件图列表
Public methodGetDrawing 获取指定图纸
Public methodGetDrawingIDsByObject(Int64) 获取指定对象的图纸ID
Public methodGetDrawingIDsByObject(Int64, DefineDrawingType) 获取指定对象、指定图纸类型的图纸ID
Public methodGetDrawingIDsByObjects(Int64) 获取指定对象组的图纸ID列表
Public methodGetDrawingIDsByObjects(Int64, DefineDrawingType) 获取指定对象组、指定图纸类型的图纸ID列表
Public methodGetDrawingsByObject(Int64) 获取指定对象的图纸
Public methodGetDrawingsByObject(Int64, DefineDrawingType) 获取指定对象、指定图纸类型的图纸
Public methodGetDrawingsByObjects(Int64) 获取指定对象组的图纸
Public methodGetDrawingsByObjects(Int64, DefineDrawingType) 获取指定对象组、指定图纸类型的图纸列表
Public methodGetObject 获取对象
Public methodGetPartDrawing 通过零件编号获取零件图
Public methodGetPartDrawingID 通过零件编号获取零件图ID
Public methodGetPartDrawingIDs 通过零件编号获取零件图ID列表
Public methodGetPartDrawings 通过零件编号组获取零件图列表
Public methodGetScene 获取目标场景
Public methodIsLoaded 模型是否加载
Public methodOnAppClose 程序关闭回调
Public methodOnDocumentClose 模型关闭回调
Public methodOnDocumentOpen 模型打开回调
Top
See Also