跳到主要内容

IDP.Interaction namespace

用户交互行为相关接口

Signature:

namespace Interaction 

Functions

Function

Description

getSelectedElements()

获取当前选中的对象列表

getSelectedElements()

获取当前选中的对象列表

getSelectedRooms()

获取当前选中的房间列表

setSelectedElements(option)

设置当前选中的对象列表 目前支持下面几种 ElementType:Wardrobe、WardrobeCopy、Cabinet、CabinetCopy、DoorWindow、DoorWindowCopy、CustomGroup;

setSelectedElements(option)

设置当前选中的对象列表 目前支持下面几种 ElementType::Wardrobe、WardrobeCopy、Cabinet、CabinetCopy、DoorWindow、DoorWindowCopy、CustomGroup;

startDragProductAsync(productId)

拖拽创建设计对象到场景