1. getPostilByKey

作用: 获取当前批注列表指定批注信息 。

1.1. 参数说明:

形式参数: 有

名称 说明 类型 是否必填 示例
key 模型key 字符串 string "35165165"
返回值说明 类型 示例
批注对象 object 见下方
var obj={
    cameraState: cameraState,
    componentState: componentState,   //{string} 对象数组 , 构件信息,
    highlightComponentsKeys: highlightComponentsKeys,    //{Array}数组,高亮的构件key集 合
    highlightModelsKeys: highlightModelsKeys,    //{Array}数组,高亮的模型key集合 
    imageURL: imgURL,    //{base64} 当前canvas的截图
    width: w,    //{int} 图片宽度,当前canvas图片的宽度 
    height: h,   //{int} 图片高度,当前canvas图片的高度 
    num:  num,    //{int} 当前批注列表的序号
    code: new Date().getTime().toString(), 
    name: "批注" + num,    //批注名称
}

1.2. 调用方式:

postil.getPostilByKey("35165165");
版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2021 all right reserved,powered by Gitbook该文件修订时间: 2021-12-20 09:58:36

results matching ""

    No results matching ""