Click or drag to resize

Scene Interface

返回用户文档首页
场景

Namespace: LoongCAD.STC.Friendly.Scene
Assembly: LoongSDKSTC (in LoongSDKSTC.dll) Version: 2025.0.9.7 (2025.0.9.7)
Syntax
C#
public interface Scene

The Scene type exposes the following members.

Properties
 NameDescription
Public propertyId 场景ID
Public propertyTransformationPlane 当前场景变换
Top
Methods
 NameDescription
Public methodCloneFocusedObjects 批量复制当前对象
Public methodCloneObject 复制对象
Public methodCloneObjects 复制一批对象
Public methodExportIFC(Boolean, String, IFCExportSettings) 将模型导出为IFC文件
Public methodExportIFC(Int64, String, IFCExportSettings) 将模型的指定对象导出为IFC文件
Public methodGetAllObjectIds 获取所有对象id列表
Public methodGetCurrentTransformationPlane 获取当前场景变换
Public methodGetObject 获取场景中的目标对象
Public methodGetObjectIds 获取对应类型的对象id列表
Public methodGetSelectedIds 获取当前对象ID
Public methodGetSelectedObjects 获取当前选中对象
Public methodRefreshPrebuilts 刷新场景中的构件关系
Public methodReset 重置当前场景, 每次一个外部插件被调用时,都会执行此重置操作以清理沙盒间不应共享的内部状态
Public methodSelectModelObject 获取场景中的目标对象,同GetObject
Public methodSetCurrentTransformationPlane 设置当前场景变换
Top
See Also