DimensionContainerConfig
类:尺寸标注容器配置项
Constructor
new Glodon.Bimface.Plugins.Dimension.DimensionContainerConfig()
构造尺寸标注容器配置项
Members
Name | Type | Description |
---|---|---|
contents | Array | 尺寸标注信息列表,需包含标注基本信息,模型的尺寸标注数据可通过BimModel类中的getDimensions(fileId, successCallback, failureCallback)获取,数据结构参考如下: [{ dimension: { distance: 3000, type: "Distance", styleType: "Linear", points: [{ "z": 0.0, "y": -22, "x": 10 }, { "z": 0.0, "y": -22, "x": 70 }], unit: "Millimeter" }}, {dimension: { distance: 12300, type: "Distance", styleType: "Linear", unit: "Millimeter", points: [{ x: -77, y: -29, z: 70 }, { x: -68, y: -38, z: 70 }] }}] |
viewer | Glodon.Bimface.Viewer.Viewer3D | Viewer对象,必填项 |