JavaScript SDK版本3.6.346
2026-07-29
// 构造批注工具条的配置项
let config = new Glodon.Bimface.Earth.Plugins.Annotation.AnnotationToolbarConfig();
tconfig.viewer = viewer;
tconfig.windowAdaption = true;
// 构造批注工具条并进行显示
let tool = new Glodon.Bimface.Earth.Plugins.Annotation.AnnotationToolbar(tconfig);
tool.show();
// 获取场景中已有的批注列表
let annotationList = tool.getAnnotationManager().getAnnotationList();
console.log(annotationList);

BIMFACE智能客服
7*24提供专业的BIMFACE使用支持与帮助