跳到主要内容

IDP.DB.Methods.putElementLabelsAsync() 函数

function putElementLabelsAsync(elementId: IDPCommon.DB.Types.ElementId, updateData: ElementLabelData[]): Promise<void>;

添加或更新指定设计对象标签

参数:

返回值: Promise<void>

异常:

{ Error } Error.name 见 IDP.DB.Types.ElementLabelWriteErrorType, Error.message 指出具体失败原因