【发布时间】:2019-03-03 15:41:38
【问题描述】:
我知道对 db 的访问是只读的,但我可以更改查看器显示的文本,即覆盖 MText 元素的 displayValue 属性吗?亲切的问候,格雷戈尔
viewer.getProperties(dbid, (props) => {
// get set of properties for a dbid
// var properties = props.properties is an array of properties
}
{
attributeName: "Contents"
displayCategory: "Text"
displayName: "Contents"
displayValue: "some text i would like to change"
hidden: false
precision: 0
type: 20
units: null
}
【问题讨论】:
标签: autodesk-forge