Methods
(async, static) createObj() → {Promise.<AnnClsInfo>}
构造一个新的 AnnClsInfo 对象。
- Source:
Returns:
- Type
- Promise.<AnnClsInfo>
(async, static) getAnnType() → {Promise}
获取类几何约束类型
- Source:
Returns:
几何约束类型
- Type
- Promise
(async, static) getID() → {Promise}
获取注记要素类ID
- Source:
Returns:
类ID
- Type
- Promise
(async, static) getName() → {Promise}
获取注记要素类名称
- Source:
Returns:
类名称
- Type
- Promise
(async, static) getScalex() → {Promise}
获取显示因子X
- Source:
Returns:
显示因子X
- Type
- Promise
(async, static) getScaley() → {Promise}
获取显示因子Y
- Source:
Returns:
显示因子Y
- Type
- Promise
(async, static) getType() → {Promise}
取类类型
- Source:
Returns:
类类型
- Type
- Promise
(async, static) getURL() → {Promise}
获取注记要素类URL地址
- Source:
Returns:
注记要素类URL地址
- Type
- Promise
(async, static) setName(newVal) → {Promise}
设置注记要素类名称
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
注记要素类名称 |
- Source:
Returns:
>0:成功;<=0:失败
- Type
- Promise
(async, static) setScaleXY(newVal) → {Promise}
设置显示因子XY
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
- Source:
Returns:
是否设置成功
- Type
- Promise