如何获得房产类型

时间:2017-10-07 11:37:39

标签: autodesk-forge autodesk-viewer

有可能获得某些模型节点的属性:

model.getProperties(nodeId, /*success handler*/, /*error handler*/)

结果是这样的: properties list

属性描述有字段"类型"看起来像ID。我可以找到有关房产类型的信息吗?我怎样才能确定它是可数字还是按字母顺序排列?

1 个答案:

答案 0 :(得分:1)

以下是执行属性提取的C ++代码中的类型值:

enum AttributeType {

  /* Numeric types */
  Unknown                 = 0,
    Boolean,
    Integer,
    Double,

    /* Special types */
    BLOB                    = 10,
    DbKey, /* reprensets a link to another object in the database, using database internal ID */

    /* String types */
    String                  = 20,
    LocalizableString,
    DateTime,       /* ISO 8601 date */
    GeoLocation,    /* LatLonHeight - ISO6709 Annex H string, e.g: "+27.5916+086.5640+8850/" for Mount Everest */
    Position        /* "x y z w" space separated string representing vector with 2,3 or 4 elements*/
};