天天看点

C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息

BIMFACE二次开发

BIMFACE二次开发系列目录     【已更新最新开发文章,点击查看详细】

C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息

  一个文件/模型中可能包含多个楼层信息,获取楼层信息对于前端页面的动态展示非常有帮助。本篇介绍获取一个文件/模型中可能包含多个楼层信息的详细方法。

请求地址:GET https://api.bimface.com/data/v2/files/{fileId}/floors

说明:获取单个模型的所有楼层信息

参数:

C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息

请求 path(示例):https://api.bimface.com/data/v2/files/1211223382064960/floors

请求 header(示例):"Authorization: Bearer dc671840-bacc-4dc5-a134-97c1918d664b"

HTTP响应示例(200):

{
  "code" : "success",
  "data" : [ {
    "archElev" : 0.0,
    "areas" : [ {
      "boundary" : "",
      "id" : "313137",
      "levelId" : "11",
      "maxPt" : {
        "x" : -4938.068482562385,
        "y" : -3201.59397858169,
        "z" : 0.0
      },
      "minPt" : {
        "x" : -4938.068482562385,
        "y" : -3201.59397858169,
        "z" : 0.0
      },
      "name" : "dining room 4"
    } ],
    "elevation" : 0.0,
    "height" : 4000.0,
    "id" : "311",
    "miniMap" : "787e5907b0ca5cb35f5d10ba091a085b/resource/model/maps/elevation 1.png",
    "name" : "elevation 1",
    "rooms" : [ {
      "boundary" : "",
      "id" : "313137",
      "levelId" : "11",
      "maxPt" : {
        "x" : -4938.068482562385,
        "y" : -3201.59397858169,
        "z" : 0.0
      },
      "minPt" : {
        "x" : -4938.068482562385,
        "y" : -3201.59397858169,
        "z" : 0.0
      },
      "name" : "dining room 4"
    } ],
    "structElev" : 0.0
  } ],
  "message" : ""
}      

返回的数据结构比较复杂,封装成对应的C#类如下:

/// <summary>
///  获取单个模型的楼层信息返回的结果类
/// </summary>
[Serializable]
public class SingleModelFloors : GeneralResponse<List<Floor>>
{

}      

其中Floor类的结构如下:

/// <summary>
///  楼层信息
/// </summary>
[Serializable]
public class Floor
{
    /// <summary>
    ///  例如: 0.0
    /// </summary>
    [JsonProperty("archElev")]
    public double? ArchElev { get; set; }

    /// <summary>
    ///  例如: 0.0
    /// </summary>
    [JsonProperty("areas")]
    public ObjectOnFloor[] Areas { get; set; }

    /// <summary>
    ///  例如: 0.0
    /// </summary>
    [JsonProperty("elevation")]
    public double? Elevation { get; set; }

    /// <summary>
    ///  例如:4000.0
    /// </summary>
    [JsonProperty("height")]
    public double? Height { get; set; }

    /// <summary>
    ///  编号。例如:"311"
    /// </summary>
    [JsonProperty("id")]
    public string Id { get; set; }

    /// <summary>
    ///  样例 : "787e5907b0ca5cb35f5d10ba091a085b/resource/model/maps/elevation 1.png"
    /// </summary>
    [JsonProperty("miniMap")]
    public string MiniMap { get; set; }

    /// <summary>
    ///  名称。例如:"elevation 1"
    /// </summary>
    [JsonProperty("name")]
    public string Name { get; set; }

    /// <summary>
    /// 房间信息
    /// </summary>
    [JsonProperty("rooms")]
    public ObjectOnFloor[] Rooms { get; set; }

    /// <summary>
    ///  例如:0.0
    /// </summary>
    [JsonProperty("structElev")]
    public double? StructElev { get; set; }

    /// <summary>返回表示当前对象的字符串。</summary>
    /// <returns>表示当前对象的字符串。</returns>
    public override string ToString()
    {
        StringBuilder sbAreas = new StringBuilder();
        if (Areas != null && Areas.Length > 0)
        {
            foreach(var area in Areas)
            {
                sbAreas.AppendLine(area.ToString());
            }
        }

        StringBuilder sbRooms = new StringBuilder();
        if (Rooms != null && Rooms.Length > 0)
        {
            foreach (var room in Rooms)
            {
                sbAreas.AppendLine(room.ToString());
            }
        }

        return string.Format("[archElev={0}, Areas={1}, elevation={2}, height={3}, id={4}, miniMap={5}, name={6}, rooms={7}, structElev={8}]",
                             ArchElev, sbAreas, Elevation, Height, Id, MiniMap, Name, sbRooms, StructElev);
    }
}      
/// <summary>
///  楼层上包含的对象
/// </summary>
[Serializable]
public class ObjectOnFloor
{
    /// <summary>
    ///  边界
    /// </summary>
    [JsonProperty("boundary")]
    public string Boundary { get; set; }

    /// <summary>
    ///  编号
    /// </summary>
    [JsonProperty("id")]
    public string Id { get; set; }

    /// <summary>
    ///  水平线编号
    /// </summary>
    [JsonProperty("levelId")]
    public string LevelId { get; set; }

    [JsonProperty("maxPt")]
    public Coordinate MaxPt { get; set; }

    [JsonProperty("minPt")]
    public Coordinate MinPt { get; set; }

    /// <summary>
    ///  对象名称。例如:"dining room 4"
    /// </summary>
    [JsonProperty("name")]
    public string Name { get; set; }

    /// <summary>返回表示当前对象的字符串。</summary>
    /// <returns>表示当前对象的字符串。</returns>
    public override string ToString()
    {
        return string.Format("[boundary={0}, id={1}, levelId={2}, maxPt={3}, minPt={4}, name={5}]",
                             Boundary, Id, LevelId, MaxPt, MinPt, Name);
    }
}      
[Serializable]
public class Coordinate : ThreeDimensionalCoordinates
{
    
}      

其中 ThreeDimensionalCoordinates 类在 《C#开发BIMFACE系列18 服务端API之获取模型数据3:获取构件属性》 中有使用过,请查看其详细定义。

C#实现方法:

1 /// <summary>
 2 ///  获取单个模型的楼层信息
 3 /// </summary>
 4 /// <param name="accessToken">【必填】令牌</param>
 5 /// <param name="fileId">【必填】代表该单模型的文件ID</param>
 6 /// <param name="includeArea">【非必填】是否将楼层中的面积分区ID、名称一起返回</param>
 7 /// <param name="includeRoom">【非必填】是否将楼层中的房间ID、名称一起返回</param>
 8 /// <returns></returns>
 9 public virtual SingleModelFloors GetSingleModelFloors(string accessToken, long fileId, bool? includeArea = null, bool? includeRoom = null)
10 {
11     // GET https://api.bimface.com/data/v2/files/{fileId}/floors
12     string url = string.Format(BimfaceConstants.API_HOST + "/data/v2/files/{0}/floors", fileId);
13     if (includeArea != null && includeRoom == null)
14     {
15         url = url + "?includeArea=" + includeArea;
16     }
17     else if (includeArea == null && includeRoom != null)
18     {
19         url = url + "?includeRoom=" + includeRoom;
20     }
21     else if (includeArea != null && includeRoom != null)
22     {
23         url = url + "?includeArea=" + includeArea + "&includeRoom=" + includeRoom;
24     }
25 
26     BimFaceHttpHeaders headers = new BimFaceHttpHeaders();
27     headers.AddOAuth2Header(accessToken);
28 
29     try
30     {
31         SingleModelFloors response;
32 
33         HttpManager httpManager = new HttpManager(headers);
34         HttpResult httpResult = httpManager.Get(url);
35         if (httpResult.Status == HttpResult.STATUS_SUCCESS)
36         {
37             response = httpResult.Text.DeserializeJsonToObject<SingleModelFloors>();
38         }
39         else
40         {
41             response = new SingleModelFloors
42             {
43                 Message = httpResult.RefText
44             };
45         }
46 
47         return response;
48     }
49     catch (Exception ex)
50     {
51         throw new Exception("[获取单模型的楼层信息]发生异常!", ex);
52     }
53 }      
其中调用到的 httpManager.Get() 方法,请参考《C# HTTP系列》

测试

在BIMFACE的控制台中可以看到以下文件列表。模型状态均为转换成功。

C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息

以“01_BIMFACE示例文件-Revit模型.rvt”为例来测试。

C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息

完整的楼层信息为:

success

[archElev=0, Areas=, elevation=0, height=, id=311, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/311.png, name=F1, rooms=, structElev=0]
[archElev=3500, Areas=, elevation=3500, height=, id=694, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/694.png, name=F2, rooms=, structElev=3500]
[archElev=7000, Areas=, elevation=7000, height=, id=259581, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259581.png, name=F3, rooms=, structElev=7000]
[archElev=10500, Areas=, elevation=10500, height=, id=259628, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259628.png, name=ROOF, rooms=, structElev=10500]
[archElev=-450, Areas=, elevation=-450, height=, id=259664, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259664.png, name=地坪, rooms=, structElev=-450]      

如果选择了【是否将楼层中的面积分区ID、名称一起返回】选项,则返回如下结果

C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息
success

[archElev=-450, Areas=, elevation=-450, height=450, id=259664, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259664.png, name=地坪, rooms=, structElev=-450]
[archElev=0, Areas=, elevation=0, height=3500, id=311, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/311.png, name=F1, rooms=, structElev=0]
[archElev=3500, Areas=, elevation=3500, height=3500, id=694, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/694.png, name=F2, rooms=, structElev=3500]
[archElev=7000, Areas=, elevation=7000, height=3500, id=259581, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259581.png, name=F3, rooms=, structElev=7000]
[archElev=10500, Areas=, elevation=10500, height=4000, id=259628, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259628.png, name=ROOF, rooms=, structElev=10500]      

如果选择了【是否将楼层中的房间ID、名称一起返回】选项,则返回如下结果

C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息
C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息
C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息
success

[archElev=-450, Areas=, elevation=-450, height=450, id=259664, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259664.png, name=地坪, rooms=, structElev=-450]
[archElev=0, Areas=[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":4312.7157614750367,"x":108.78299956026775},{"z":0.0,"y":6067.7157614750377,"x":108.7829995602706}],[{"z":0.0,"y":6067.7157614750367,"x":108.7829995602706},{"z":0.0,"y":6067.7157614750558,"x":-5571.2170004397294}],[{"z":0.0,"y":6067.7157614750558,"x":-5571.2170004397294},{"z":0.0,"y":1847.7157614750554,"x":-5571.2170004397367}],[{"z":0.0,"y":1847.7157614750554,"x":-5571.2170004397367},{"z":0.0,"y":1847.7157614750374,"x":108.78299956026481}],[{"z":0.0,"y":1847.7157614750374,"x":108.78299956026468},{"z":0.0,"y":4312.7157614750367,"x":108.78299956026864}]]]}
, id=305074, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=0], minPt=[x=-5571.21677731631, y=1847.71568747529, z=0], name=餐厅 1]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":1157.715761475011,"x":8128.7829995602615},{"z":0.0,"y":1157.7157614750147,"x":7038.7829995602642}],[{"z":0.0,"y":1157.7157614750147,"x":7038.7829995602642},{"z":0.0,"y":4167.7157614750149,"x":7038.7829995602679}],[{"z":0.0,"y":4167.7157614750149,"x":7038.7829995602679},{"z":0.0,"y":4167.7157614750295,"x":2528.7829995602679}],[{"z":0.0,"y":4167.7157614750295,"x":2528.7829995602679},{"z":0.0,"y":1702.7157614750295,"x":2528.7829995602597}],[{"z":0.0,"y":1702.7157614750295,"x":2528.7829995602597},{"z":0.0,"y":-4274.2842385249705,"x":2528.782999560241}],[{"z":0.0,"y":-4274.2842385249705,"x":2528.782999560241},{"z":0.0,"y":-5404.2842385249705,"x":2528.7829995602369}],[{"z":0.0,"y":-5404.2842385249705,"x":2528.7829995602369},{"z":0.0,"y":-5404.284238524986,"x":7038.7829995602524}],[{"z":0.0,"y":-5404.284238524986,"x":7038.7829995602524},{"z":0.0,"y":-3984.2842385249846,"x":7038.7829995602542}],[{"z":0.0,"y":-3984.2842385249846,"x":7038.7829995602542},{"z":0.0,"y":-3984.2842385249887,"x":8128.7829995602533}],[{"z":0.0,"y":-3984.2842385249887,"x":8128.7829995602533},{"z":0.0,"y":1157.7157614750108,"x":8128.7829995602615}]]]}
, id=305077, levelId=, maxPt=[x=8128.78267400807, y=4167.71559456087, z=0], minPt=[x=2528.78289828421, y=-5404.2840220871, z=0], name=客厅 2]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":-5104.2842385249442,"x":-5571.2170004397476},{"z":0.0,"y":-5104.284238524956,"x":-2261.2170004397494}],[{"z":0.0,"y":-5104.284238524956,"x":-2261.2170004397485},{"z":0.0,"y":-2678.2842385249555,"x":-2261.2170004397453}],[{"z":0.0,"y":-2678.2842385249555,"x":-2261.2170004397453},{"z":0.0,"y":-54.284238524955555,"x":-2261.2170004397408}],[{"z":0.0,"y":-54.28423852495537,"x":-2261.2170004397408},{"z":0.0,"y":-54.284238524944669,"x":-5571.2170004397394}],[{"z":0.0,"y":-54.284238524944669,"x":-5571.2170004397394},{"z":0.0,"y":-5104.2842385249442,"x":-5571.2170004397476}]]]}
, id=305080, levelId=, maxPt=[x=-2261.21690987955, y=-54.2842363508981, z=0], minPt=[x=-5571.21677731632, y=-5104.28403410187, z=0], name=厨房 3]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":-5104.2842385249323,"x":-9181.2170004397485},{"z":0.0,"y":-5104.2842385249442,"x":-5861.2170004397467}],[{"z":0.0,"y":-5104.2842385249442,"x":-5861.2170004397467},{"z":0.0,"y":7.71576147505634,"x":-5861.2170004397385}],[{"z":0.0,"y":7.71576147505607,"x":-5861.2170004397385},{"z":0.0,"y":1557.7157614750565,"x":-5861.2170004397358}],[{"z":0.0,"y":1557.7157614750565,"x":-5861.2170004397358},{"z":0.0,"y":1557.715761475067,"x":-9181.2170004397376}],[{"z":0.0,"y":1557.715761475067,"x":-9181.2170004397376},{"z":0.0,"y":-5104.2842385249323,"x":-9181.2170004397485}]]]}
, id=305086, levelId=, maxPt=[x=-5861.21676570201, y=1557.71569908962, z=0], minPt=[x=-9181.21663273829, y=-5104.28403410186, z=0], name=车库 5]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":69.7157614750437,"x":-1971.2170004397408},{"z":0.0,"y":-2616.2842385249569,"x":-1971.2170004397451}],[{"z":0.0,"y":-2616.2842385249569,"x":-1971.2170004397451},{"z":0.0,"y":-2616.284238524966,"x":728.78299956024591}],[{"z":0.0,"y":-2616.284238524966,"x":728.78299956024625},{"z":0.0,"y":-4274.2842385249651,"x":728.78299956024352}],[{"z":0.0,"y":-4274.2842385249651,"x":728.78299956024352},{"z":0.0,"y":-4274.28423852497,"x":2238.7829995602406}],[{"z":0.0,"y":-4274.28423852497,"x":2238.7829995602406},{"z":0.0,"y":1557.71576147503,"x":2238.7829995602597}],[{"z":0.0,"y":1557.7157614750304,"x":2238.7829995602597},{"z":0.0,"y":1557.7157614750367,"x":253.78299956026433}],[{"z":0.0,"y":1557.7157614750367,"x":253.78299956026433},{"z":0.0,"y":1557.7157614750554,"x":-5571.2170004397367}],[{"z":0.0,"y":1557.7157614750554,"x":-5571.2170004397367},{"z":0.0,"y":69.715761475055245,"x":-5571.2170004397394}],[{"z":0.0,"y":69.715761475055331,"x":-5571.2170004397394},{"z":0.0,"y":69.7157614750437,"x":-1971.217000439741}]]]}
, id=309385, levelId=, maxPt=[x=2238.78290989853, y=1557.71569908961, z=0], minPt=[x=-5571.21677731631, y=-4274.28406734281, z=0], name=过厅 18]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":-2740.2842385249569,"x":-1971.2170004397451},{"z":0.0,"y":-3984.284238524956,"x":-1971.2170004397469}],[{"z":0.0,"y":-3984.284238524956,"x":-1971.2170004397469},{"z":0.0,"y":-3984.2842385249646,"x":604.78299956024352}],[{"z":0.0,"y":-3984.2842385249646,"x":604.782999560244},{"z":0.0,"y":-2740.2842385249655,"x":604.782999560246}],[{"z":0.0,"y":-2740.284238524966,"x":604.782999560246},{"z":0.0,"y":-2740.2842385249569,"x":-1971.2170004397451}]]]}
, id=309448, levelId=, maxPt=[x=604.782975339101, y=-2740.28412877845, z=0], minPt=[x=-1971.21692149386, y=-3984.28407895711, z=0], name=仓库 19]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":4167.71576147503,"x":2238.7829995602679},{"z":0.0,"y":4167.7157614750367,"x":398.78299956026848}],[{"z":0.0,"y":4167.7157614750367,"x":398.78299956026837},{"z":0.0,"y":1847.7157614750361,"x":398.78299956026461}],[{"z":0.0,"y":1847.7157614750363,"x":398.78299956026467},{"z":0.0,"y":1847.7157614750306,"x":2238.7829995602606}],[{"z":0.0,"y":1847.7157614750306,"x":2238.7829995602606},{"z":0.0,"y":4167.71576147503,"x":2238.7829995602679}]]]}
, id=309547, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=0], minPt=[x=398.782983589279, y=1847.71568747528, z=0], name=卫生间 20]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":-4274.2842385249651,"x":666.78299956024114},{"z":0.0,"y":-4274.284238524956,"x":-1971.2170004397478}],[{"z":0.0,"y":-4274.284238524956,"x":-1971.2170004397474},{"z":0.0,"y":-6769.2842385249569,"x":-1971.2170004397515}],[{"z":0.0,"y":-6769.2842385249569,"x":-1971.2170004397515},{"z":0.0,"y":-6769.2842385249569,"x":-2116.2170004397517}],[{"z":0.0,"y":-6769.2842385249569,"x":-2116.2170004397517},{"z":0.0,"y":-7789.2842385249505,"x":-2116.2170004397535}],[{"z":0.0,"y":-7789.2842385249505,"x":-2116.2170004397535},{"z":0.0,"y":-7789.2842385249523,"x":-1371.2170004397533}],[{"z":0.0,"y":-7789.2842385249523,"x":-1371.2170004397533},{"z":0.0,"y":-7789.2842385249623,"x":1638.7829995602522}],[{"z":0.0,"y":-7789.2842385249623,"x":1638.7829995602522},{"z":0.0,"y":-7789.2842385249642,"x":2383.7829995602478}],[{"z":0.0,"y":-7789.2842385249642,"x":2383.7829995602483},{"z":0.0,"y":-6839.284238524976,"x":2383.7829995602497}],[{"z":0.0,"y":-6839.284238524976,"x":2383.7829995602497},{"z":0.0,"y":-6839.284238524976,"x":2238.7829995602342}],[{"z":0.0,"y":-6839.284238524976,"x":2238.7829995602342},{"z":0.0,"y":-5549.28423852497,"x":2238.7829995602365}],[{"z":0.0,"y":-5549.28423852497,"x":2238.7829995602365},{"z":0.0,"y":-4274.28423852497,"x":2238.7829995602406}],[{"z":0.0,"y":-4274.28423852497,"x":2238.7829995602406},{"z":0.0,"y":-4274.2842385249651,"x":666.78299956024352}]]]}
, id=380345, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=0], minPt=[x=-2116.21691568671, y=-7789.28392656946, z=0], name=门厅 24]
, elevation=0, height=3500, id=311, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/311.png, name=F1, rooms=, structElev=0]
[archElev=3500, Areas=[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":6067.7157614750558,"x":-5571.2170004397294},{"z":3499.9999999999995,"y":1847.7157614750554,"x":-5571.2170004397367}],[{"z":3499.9999999999995,"y":1847.7157614750554,"x":-5571.2170004397367},{"z":3499.9999999999995,"y":1847.7157614750374,"x":108.78299956026373}],[{"z":3499.9999999999995,"y":1847.7157614750374,"x":108.78299956026378},{"z":3499.9999999999995,"y":4312.7157614750358,"x":108.78299956026775}],[{"z":3499.9999999999995,"y":4312.7157614750367,"x":108.78299956026775},{"z":3499.9999999999995,"y":4457.7157614750367,"x":108.782999560268}],[{"z":3499.9999999999995,"y":4457.7157614750367,"x":108.782999560268},{"z":3499.9999999999995,"y":6067.7157614750377,"x":108.7829995602706}],[{"z":3499.9999999999995,"y":6067.7157614750367,"x":108.7829995602706},{"z":3499.9999999999995,"y":6067.7157614750558,"x":-5571.2170004397294}]]]}
, id=306373, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=3499.9998598274], minPt=[x=-5571.21677731631, y=1847.71568747529, z=3499.9998598274], name=次卧 8]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":-6839.2842385249623,"x":-2116.2170004397522},{"z":3499.9999999999995,"y":-7644.2842385249514,"x":-2116.2170004397531}],[{"z":3499.9999999999995,"y":-7644.2842385249514,"x":-2116.2170004397531},{"z":3499.9999999999995,"y":-7644.2842385249542,"x":-1371.2170004397528}],[{"z":3499.9999999999995,"y":-7644.2842385249542,"x":-1371.2170004397528},{"z":3499.9999999999995,"y":-7644.2842385249642,"x":1638.7829995602526}],[{"z":3499.9999999999995,"y":-7644.2842385249642,"x":1638.7829995602526},{"z":3499.9999999999995,"y":-7644.284238524966,"x":2383.7829995602483}],[{"z":3499.9999999999995,"y":-7644.284238524966,"x":2383.7829995602483},{"z":3499.9999999999995,"y":-6839.2842385250142,"x":2383.7829995602497}],[{"z":3499.9999999999995,"y":-6839.284238524976,"x":2383.7829995602497},{"z":3499.9999999999995,"y":-6839.2842385249733,"x":1638.78299956025}],[{"z":3499.9999999999995,"y":-6839.2842385249733,"x":1638.78299956025},{"z":3499.9999999999995,"y":-6549.2842385249742,"x":1638.782999560251}],[{"z":3499.9999999999995,"y":-6549.2842385249742,"x":1638.782999560251},{"z":3499.9999999999995,"y":-6549.2842385249769,"x":2238.7829995602533}],[{"z":3499.9999999999995,"y":-6549.2842385249769,"x":2238.7829995602533},{"z":3499.9999999999995,"y":-5549.28423852497,"x":2238.7829995602547}],[{"z":3499.9999999999995,"y":-5549.28423852497,"x":2238.7829995602547},{"z":3499.9999999999995,"y":-4274.28423852497,"x":2238.7829995602569}],[{"z":3499.9999999999995,"y":-4274.28423852497,"x":2238.7829995602569},{"z":3499.9999999999995,"y":-4274.284238524956,"x":-1971.2170004397469}],[{"z":3499.9999999999995,"y":-4274.284238524956,"x":-1971.2170004397474},{"z":3499.9999999999995,"y":-5249.284238524956,"x":-1971.217000439749}],[{"z":3499.9999999999995,"y":-5249.284238524956,"x":-1971.217000439749},{"z":3499.9999999999995,"y":-6549.2842385249633,"x":-1971.2170004397512}],[{"z":3499.9999999999995,"y":-6549.2842385249633,"x":-1971.2170004397512},{"z":3499.9999999999995,"y":-6549.284238524966,"x":-1371.2170004397512}],[{"z":3499.9999999999995,"y":-6549.284238524966,"x":-1371.2170004397512},{"z":3499.9999999999995,"y":-6839.2842385249651,"x":-1371.2170004397524}],[{"z":3499.9999999999995,"y":-6839.2842385249651,"x":-1371.2170004397524},{"z":3499.9999999999995,"y":-6839.2842385249623,"x":-2116.2170004397522}]]]}
, id=306376, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=3499.9998598274], minPt=[x=-2116.21691568671, y=-7644.28393237662, z=3499.9998598274], name=健身房 9]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":4167.7157614750313,"x":2238.78299956027},{"z":3499.9999999999995,"y":4167.7157614750367,"x":398.7829995602674}],[{"z":3499.9999999999995,"y":4167.7157614750367,"x":398.78299956026757},{"z":3499.9999999999995,"y":1847.7157614750361,"x":398.7829995602637}],[{"z":3499.9999999999995,"y":1847.7157614750363,"x":398.7829995602637},{"z":3499.9999999999995,"y":1847.7157614750306,"x":2238.7829995602669}],[{"z":3499.9999999999995,"y":1847.7157614750306,"x":2238.7829995602669},{"z":3499.9999999999995,"y":4167.7157614750313,"x":2238.78299956027}]]]}
, id=306379, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=3499.9998598274], minPt=[x=398.782983589278, y=1847.71568747528, z=3499.9998598274], name=卫生间 10]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":4167.7157614750149,"x":7038.7829995602679},{"z":3499.9999999999995,"y":4167.71576147503,"x":2528.7829995602706}],[{"z":3499.9999999999995,"y":4167.71576147503,"x":2528.7829995602706},{"z":3499.9999999999995,"y":1702.71576147503,"x":2528.7829995602665}],[{"z":3499.9999999999995,"y":1702.71576147503,"x":2528.7829995602665},{"z":3499.9999999999995,"y":-3984.28423852497,"x":2528.7829995602574}],[{"z":3499.9999999999995,"y":-3984.28423852497,"x":2528.7829995602574},{"z":3499.9999999999995,"y":-3984.2842385249869,"x":7183.7829995602533}],[{"z":3499.9999999999995,"y":-3984.2842385249869,"x":7183.7829995602533},{"z":3499.9999999999995,"y":-3984.28423852499,"x":8128.7829995602533}],[{"z":3499.9999999999995,"y":-3984.28423852499,"x":8128.7829995602533},{"z":3499.9999999999995,"y":1157.7157614750104,"x":8128.7829995602615}],[{"z":3499.9999999999995,"y":1157.715761475011,"x":8128.7829995602615},{"z":3499.9999999999995,"y":1157.7157614750147,"x":7038.7829995602624}],[{"z":3499.9999999999995,"y":1157.7157614750147,"x":7038.7829995602624},{"z":3499.9999999999995,"y":4167.7157614750149,"x":7038.7829995602679}]]]}
, id=306386, levelId=, maxPt=[x=8128.78267400807, y=4167.71559456087, z=3499.9998598274], minPt=[x=2528.78289828423, y=-3984.28407895714, z=3499.9998598274], name=活动室 11]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":1557.715761475067,"x":-9181.2170004397376},{"z":3499.9999999999995,"y":-3977.2842385249332,"x":-9181.2170004397449}],[{"z":3499.9999999999995,"y":-3977.2842385249337,"x":-9181.2170004397449},{"z":3499.9999999999995,"y":-3977.2842385249451,"x":-5778.2170004397476}],[{"z":3499.9999999999995,"y":-3977.2842385249451,"x":-5778.2170004397476},{"z":3499.9999999999995,"y":337.715761475056,"x":-5778.21700043974}],[{"z":3499.9999999999995,"y":337.71576147505613,"x":-5778.21700043974},{"z":3499.9999999999995,"y":1557.7157614750561,"x":-5778.2170004397385}],[{"z":3499.9999999999995,"y":1557.7157614750561,"x":-5778.2170004397385},{"z":3499.9999999999995,"y":1557.715761475067,"x":-9181.2170004397376}]]]}
, id=309558, levelId=, maxPt=[x=-5778.2167690261, y=1557.71569908962, z=3499.9998598274], minPt=[x=-9181.21663273829, y=-3977.28407923744, z=3499.9998598274], name=次卧 21]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":275.71576147504487,"x":-2261.2170004397403},{"z":3499.9999999999995,"y":275.71576147505584,"x":-5654.21700043974}],[{"z":3499.9999999999995,"y":275.71576147505584,"x":-5654.21700043974},{"z":3499.9999999999995,"y":-3977.2842385249451,"x":-5654.2170004397476}],[{"z":3499.9999999999995,"y":-3977.2842385249451,"x":-5654.2170004397476},{"z":3499.9999999999995,"y":-3977.284238524956,"x":-2261.2170004397476}],[{"z":3499.9999999999995,"y":-3977.284238524956,"x":-2261.2170004397472},{"z":3499.9999999999995,"y":275.7157614750447,"x":-2261.2170004397403}]]]}
, id=309561, levelId=, maxPt=[x=-2261.21690987955, y=275.715750432828, z=3499.9998598274], minPt=[x=-5654.21677399223, y=-3977.28407923745, z=3499.9998598274], name=次卧 22]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":-3984.2842385249696,"x":2238.7829995602574},{"z":3499.9999999999995,"y":1557.7157614750304,"x":2238.782999560266}],[{"z":3499.9999999999995,"y":1557.7157614750304,"x":2238.782999560266},{"z":3499.9999999999995,"y":1557.7157614750367,"x":253.78299956026325}],[{"z":3499.9999999999995,"y":1557.7157614750367,"x":253.78299956026325},{"z":3499.9999999999995,"y":1557.7157614750556,"x":-5654.2170004397385}],[{"z":3499.9999999999995,"y":1557.7157614750556,"x":-5654.2170004397385},{"z":3499.9999999999995,"y":399.71576147505573,"x":-5654.21700043974}],[{"z":3499.9999999999995,"y":399.71576147505584,"x":-5654.21700043974},{"z":3499.9999999999995,"y":399.71576147504391,"x":-1971.2170004397403}],[{"z":3499.9999999999995,"y":399.71576147504391,"x":-1971.2170004397403},{"z":3499.9999999999995,"y":-3984.284238524956,"x":-1971.2170004397472}],[{"z":3499.9999999999995,"y":-3984.284238524956,"x":-1971.2170004397472},{"z":3499.9999999999995,"y":-3984.2842385249696,"x":2238.7829995602569}]]]}
, id=309564, levelId=, maxPt=[x=2238.78290989854, y=1557.71569908961, z=3499.9998598274], minPt=[x=-5654.21677399222, y=-3984.28407895711, z=3499.9998598274], name=过厅 23]
, elevation=3500, height=3500, id=694, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/694.png, name=F2, rooms=, structElev=3500]
[archElev=7000, Areas=[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":6067.7157614750558,"x":-5571.2170004397294},{"z":7000.0000000000009,"y":1847.7157614750554,"x":-5571.2170004397367}],[{"z":7000.0000000000009,"y":1847.7157614750554,"x":-5571.2170004397367},{"z":7000.0000000000009,"y":1847.7157614750445,"x":-2116.2170004397385}],[{"z":7000.0000000000009,"y":1847.7157614750445,"x":-2116.2170004397385},{"z":7000.0000000000009,"y":1847.7157614750374,"x":108.78299956026373}],[{"z":7000.0000000000009,"y":1847.7157614750374,"x":108.78299956026378},{"z":7000.0000000000009,"y":4312.7157614750367,"x":108.78299956026775}],[{"z":7000.0000000000009,"y":4312.7157614750367,"x":108.78299956026775},{"z":7000.0000000000009,"y":4457.7157614750367,"x":108.782999560268}],[{"z":7000.0000000000009,"y":4457.7157614750367,"x":108.782999560268},{"z":7000.0000000000009,"y":6067.7157614750377,"x":108.7829995602706}],[{"z":7000.0000000000009,"y":6067.7157614750367,"x":108.7829995602706},{"z":7000.0000000000009,"y":6067.7157614750558,"x":-5571.2170004397294}]]]}
, id=306808, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=6999.99971965479], minPt=[x=-5571.21677731631, y=1847.71568747529, z=6999.99971965479], name=露台 12]
[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":4167.7157614750313,"x":2238.78299956027},{"z":7000.0000000000009,"y":4167.7157614750367,"x":398.7829995602674}],[{"z":7000.0000000000009,"y":4167.7157614750367,"x":398.78299956026751},{"z":7000.0000000000009,"y":1847.7157614750361,"x":398.7829995602637}],[{"z":7000.0000000000009,"y":1847.7157614750363,"x":398.7829995602637},{"z":7000.0000000000009,"y":1847.7157614750306,"x":2238.7829995602669}],[{"z":7000.0000000000009,"y":1847.7157614750306,"x":2238.7829995602669},{"z":7000.0000000000009,"y":4167.7157614750313,"x":2238.78299956027}]]]}
, id=306811, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=6999.99971965479], minPt=[x=398.782983589278, y=1847.71568747528, z=6999.99971965479], name=卫生间 13]
[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":4167.7157614750149,"x":7038.7829995602679},{"z":7000.0000000000009,"y":4167.71576147503,"x":2528.7829995602706}],[{"z":7000.0000000000009,"y":4167.71576147503,"x":2528.7829995602706},{"z":7000.0000000000009,"y":1847.7157614750295,"x":2528.7829995602665}],[{"z":7000.0000000000009,"y":1847.7157614750295,"x":2528.7829995602665},{"z":7000.0000000000009,"y":1847.7157614750151,"x":7038.7829995602642}],[{"z":7000.0000000000009,"y":1847.7157614750151,"x":7038.7829995602642},{"z":7000.0000000000009,"y":4167.7157614750149,"x":7038.7829995602679}]]]}
, id=306814, levelId=, maxPt=[x=7038.78271766183, y=4167.71559456087, z=6999.99971965479], minPt=[x=2528.78289828424, y=1847.71568747526, z=6999.99971965479], name=露台 14]
[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":1302.7157614750142,"x":7038.7829995602624},{"z":7000.0000000000009,"y":1557.7157614750149,"x":7038.7829995602642}],[{"z":7000.0000000000009,"y":1557.7157614750149,"x":7038.7829995602642},{"z":7000.0000000000009,"y":1557.7157614750295,"x":2528.7829995602665}],[{"z":7000.0000000000009,"y":1557.7157614750295,"x":2528.7829995602665},{"z":7000.0000000000009,"y":-3984.28423852497,"x":2528.7829995602574}],[{"z":7000.0000000000009,"y":-3984.28423852497,"x":2528.7829995602574},{"z":7000.0000000000009,"y":-3984.2842385249864,"x":7038.7829995602542}],[{"z":7000.0000000000009,"y":-3984.2842385249864,"x":7038.7829995602542},{"z":7000.0000000000009,"y":1302.7157614750142,"x":7038.7829995602624}]]]}
, id=306817, levelId=, maxPt=[x=7038.78271766182, y=1557.71569908958, z=6999.99971965479], minPt=[x=2528.78289828423, y=-3984.28407895713, z=6999.99971965479], name=书房 15]
[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":-6599.2842385249569,"x":-1971.2170004397512},{"z":7000.0000000000009,"y":-6599.2842385249542,"x":-2116.2170004397517}],[{"z":7000.0000000000009,"y":-6599.2842385249542,"x":-2116.2170004397517},{"z":7000.0000000000009,"y":-7644.2842385249514,"x":-2116.2170004397531}],[{"z":7000.0000000000009,"y":-7644.2842385249514,"x":-2116.2170004397531},{"z":7000.0000000000009,"y":-7644.2842385249542,"x":-1371.2170004397528}],[{"z":7000.0000000000009,"y":-7644.2842385249542,"x":-1371.2170004397528},{"z":7000.0000000000009,"y":-7644.2842385249642,"x":1638.7829995602526}],[{"z":7000.0000000000009,"y":-7644.2842385249642,"x":1638.7829995602526},{"z":7000.0000000000009,"y":-7644.284238524966,"x":2383.7829995602483}],[{"z":7000.0000000000009,"y":-7644.284238524966,"x":2383.7829995602483},{"z":7000.0000000000009,"y":-6839.2842385250142,"x":2383.7829995602497}],[{"z":7000.0000000000009,"y":-6839.2842385250142,"x":2383.7829995602497},{"z":7000.0000000000009,"y":-6694.284238524976,"x":2238.7829995602528}],[{"z":7000.0000000000009,"y":-6694.284238524976,"x":2238.7829995602528},{"z":7000.0000000000009,"y":-4274.28423852497,"x":2238.7829995602569}],[{"z":7000.0000000000009,"y":-4274.28423852497,"x":2238.7829995602569},{"z":7000.0000000000009,"y":-4274.284238524956,"x":-1971.2170004397469}],[{"z":7000.0000000000009,"y":-4274.284238524956,"x":-1971.2170004397474},{"z":7000.0000000000009,"y":-6599.2842385249569,"x":-1971.2170004397512}]]]}
, id=306820, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=6999.99971965479], minPt=[x=-2116.21691568671, y=-7644.28393237662, z=6999.99971965479], name=书房 16]
[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":1557.715761475067,"x":-9181.2170004397376},{"z":7000.0000000000009,"y":-3977.2842385249332,"x":-9181.2170004397449}],[{"z":7000.0000000000009,"y":-3977.2842385249337,"x":-9181.2170004397449},{"z":7000.0000000000009,"y":-3977.284238524956,"x":-2261.2170004397476}],[{"z":7000.0000000000009,"y":-3977.284238524956,"x":-2261.2170004397472},{"z":7000.0000000000009,"y":1557.7157614750445,"x":-2261.2170004397385}],[{"z":7000.0000000000009,"y":1557.7157614750447,"x":-2261.2170004397385},{"z":7000.0000000000009,"y":1557.7157614750558,"x":-5716.2170004397367}],[{"z":7000.0000000000009,"y":1557.7157614750558,"x":-5716.2170004397367},{"z":7000.0000000000009,"y":1557.715761475067,"x":-9181.2170004397376}]]]}
, id=306823, levelId=, maxPt=[x=-2261.21690987955, y=1557.71569908962, z=6999.99971965479], minPt=[x=-9181.21663273829, y=-3977.28407923745, z=6999.99971965479], name=主卧 17]
, elevation=7000, height=3500, id=259581, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259581.png, name=F3, rooms=, structElev=7000]
[archElev=10500, Areas=, elevation=10500, height=4000, id=259628, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259628.png, name=ROOF, rooms=, structElev=10500]      

View Code

如果【是否将楼层中的面积分区ID、名称一起返回、【是否将楼层中的房间ID、名称一起返回】】2个选项都选择,则返回如下结果

C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息
C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息
C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息
success

[archElev=-450, Areas=, elevation=-450, height=450, id=259664, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259664.png, name=地坪, rooms=, structElev=-450]
[archElev=0, Areas=[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":4312.7157614750367,"x":108.78299956026775},{"z":0.0,"y":6067.7157614750377,"x":108.7829995602706}],[{"z":0.0,"y":6067.7157614750367,"x":108.7829995602706},{"z":0.0,"y":6067.7157614750558,"x":-5571.2170004397294}],[{"z":0.0,"y":6067.7157614750558,"x":-5571.2170004397294},{"z":0.0,"y":1847.7157614750554,"x":-5571.2170004397367}],[{"z":0.0,"y":1847.7157614750554,"x":-5571.2170004397367},{"z":0.0,"y":1847.7157614750374,"x":108.78299956026481}],[{"z":0.0,"y":1847.7157614750374,"x":108.78299956026468},{"z":0.0,"y":4312.7157614750367,"x":108.78299956026864}]]]}
, id=305074, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=0], minPt=[x=-5571.21677731631, y=1847.71568747529, z=0], name=餐厅 1]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":1157.715761475011,"x":8128.7829995602615},{"z":0.0,"y":1157.7157614750147,"x":7038.7829995602642}],[{"z":0.0,"y":1157.7157614750147,"x":7038.7829995602642},{"z":0.0,"y":4167.7157614750149,"x":7038.7829995602679}],[{"z":0.0,"y":4167.7157614750149,"x":7038.7829995602679},{"z":0.0,"y":4167.7157614750295,"x":2528.7829995602679}],[{"z":0.0,"y":4167.7157614750295,"x":2528.7829995602679},{"z":0.0,"y":1702.7157614750295,"x":2528.7829995602597}],[{"z":0.0,"y":1702.7157614750295,"x":2528.7829995602597},{"z":0.0,"y":-4274.2842385249705,"x":2528.782999560241}],[{"z":0.0,"y":-4274.2842385249705,"x":2528.782999560241},{"z":0.0,"y":-5404.2842385249705,"x":2528.7829995602369}],[{"z":0.0,"y":-5404.2842385249705,"x":2528.7829995602369},{"z":0.0,"y":-5404.284238524986,"x":7038.7829995602524}],[{"z":0.0,"y":-5404.284238524986,"x":7038.7829995602524},{"z":0.0,"y":-3984.2842385249846,"x":7038.7829995602542}],[{"z":0.0,"y":-3984.2842385249846,"x":7038.7829995602542},{"z":0.0,"y":-3984.2842385249887,"x":8128.7829995602533}],[{"z":0.0,"y":-3984.2842385249887,"x":8128.7829995602533},{"z":0.0,"y":1157.7157614750108,"x":8128.7829995602615}]]]}
, id=305077, levelId=, maxPt=[x=8128.78267400807, y=4167.71559456087, z=0], minPt=[x=2528.78289828421, y=-5404.2840220871, z=0], name=客厅 2]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":-5104.2842385249442,"x":-5571.2170004397476},{"z":0.0,"y":-5104.284238524956,"x":-2261.2170004397494}],[{"z":0.0,"y":-5104.284238524956,"x":-2261.2170004397485},{"z":0.0,"y":-2678.2842385249555,"x":-2261.2170004397453}],[{"z":0.0,"y":-2678.2842385249555,"x":-2261.2170004397453},{"z":0.0,"y":-54.284238524955555,"x":-2261.2170004397408}],[{"z":0.0,"y":-54.28423852495537,"x":-2261.2170004397408},{"z":0.0,"y":-54.284238524944669,"x":-5571.2170004397394}],[{"z":0.0,"y":-54.284238524944669,"x":-5571.2170004397394},{"z":0.0,"y":-5104.2842385249442,"x":-5571.2170004397476}]]]}
, id=305080, levelId=, maxPt=[x=-2261.21690987955, y=-54.2842363508981, z=0], minPt=[x=-5571.21677731632, y=-5104.28403410187, z=0], name=厨房 3]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":-5104.2842385249323,"x":-9181.2170004397485},{"z":0.0,"y":-5104.2842385249442,"x":-5861.2170004397467}],[{"z":0.0,"y":-5104.2842385249442,"x":-5861.2170004397467},{"z":0.0,"y":7.71576147505634,"x":-5861.2170004397385}],[{"z":0.0,"y":7.71576147505607,"x":-5861.2170004397385},{"z":0.0,"y":1557.7157614750565,"x":-5861.2170004397358}],[{"z":0.0,"y":1557.7157614750565,"x":-5861.2170004397358},{"z":0.0,"y":1557.715761475067,"x":-9181.2170004397376}],[{"z":0.0,"y":1557.715761475067,"x":-9181.2170004397376},{"z":0.0,"y":-5104.2842385249323,"x":-9181.2170004397485}]]]}
, id=305086, levelId=, maxPt=[x=-5861.21676570201, y=1557.71569908962, z=0], minPt=[x=-9181.21663273829, y=-5104.28403410186, z=0], name=车库 5]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":69.7157614750437,"x":-1971.2170004397408},{"z":0.0,"y":-2616.2842385249569,"x":-1971.2170004397451}],[{"z":0.0,"y":-2616.2842385249569,"x":-1971.2170004397451},{"z":0.0,"y":-2616.284238524966,"x":728.78299956024591}],[{"z":0.0,"y":-2616.284238524966,"x":728.78299956024625},{"z":0.0,"y":-4274.2842385249651,"x":728.78299956024352}],[{"z":0.0,"y":-4274.2842385249651,"x":728.78299956024352},{"z":0.0,"y":-4274.28423852497,"x":2238.7829995602406}],[{"z":0.0,"y":-4274.28423852497,"x":2238.7829995602406},{"z":0.0,"y":1557.71576147503,"x":2238.7829995602597}],[{"z":0.0,"y":1557.7157614750304,"x":2238.7829995602597},{"z":0.0,"y":1557.7157614750367,"x":253.78299956026433}],[{"z":0.0,"y":1557.7157614750367,"x":253.78299956026433},{"z":0.0,"y":1557.7157614750554,"x":-5571.2170004397367}],[{"z":0.0,"y":1557.7157614750554,"x":-5571.2170004397367},{"z":0.0,"y":69.715761475055245,"x":-5571.2170004397394}],[{"z":0.0,"y":69.715761475055331,"x":-5571.2170004397394},{"z":0.0,"y":69.7157614750437,"x":-1971.217000439741}]]]}
, id=309385, levelId=, maxPt=[x=2238.78290989853, y=1557.71569908961, z=0], minPt=[x=-5571.21677731631, y=-4274.28406734281, z=0], name=过厅 18]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":-2740.2842385249569,"x":-1971.2170004397451},{"z":0.0,"y":-3984.284238524956,"x":-1971.2170004397469}],[{"z":0.0,"y":-3984.284238524956,"x":-1971.2170004397469},{"z":0.0,"y":-3984.2842385249646,"x":604.78299956024352}],[{"z":0.0,"y":-3984.2842385249646,"x":604.782999560244},{"z":0.0,"y":-2740.2842385249655,"x":604.782999560246}],[{"z":0.0,"y":-2740.284238524966,"x":604.782999560246},{"z":0.0,"y":-2740.2842385249569,"x":-1971.2170004397451}]]]}
, id=309448, levelId=, maxPt=[x=604.782975339101, y=-2740.28412877845, z=0], minPt=[x=-1971.21692149386, y=-3984.28407895711, z=0], name=仓库 19]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":4167.71576147503,"x":2238.7829995602679},{"z":0.0,"y":4167.7157614750367,"x":398.78299956026848}],[{"z":0.0,"y":4167.7157614750367,"x":398.78299956026837},{"z":0.0,"y":1847.7157614750361,"x":398.78299956026461}],[{"z":0.0,"y":1847.7157614750363,"x":398.78299956026467},{"z":0.0,"y":1847.7157614750306,"x":2238.7829995602606}],[{"z":0.0,"y":1847.7157614750306,"x":2238.7829995602606},{"z":0.0,"y":4167.71576147503,"x":2238.7829995602679}]]]}
, id=309547, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=0], minPt=[x=398.782983589279, y=1847.71568747528, z=0], name=卫生间 20]
[boundary={"version":"2.0","loops":[[[{"z":0.0,"y":-4274.2842385249651,"x":666.78299956024114},{"z":0.0,"y":-4274.284238524956,"x":-1971.2170004397478}],[{"z":0.0,"y":-4274.284238524956,"x":-1971.2170004397474},{"z":0.0,"y":-6769.2842385249569,"x":-1971.2170004397515}],[{"z":0.0,"y":-6769.2842385249569,"x":-1971.2170004397515},{"z":0.0,"y":-6769.2842385249569,"x":-2116.2170004397517}],[{"z":0.0,"y":-6769.2842385249569,"x":-2116.2170004397517},{"z":0.0,"y":-7789.2842385249505,"x":-2116.2170004397535}],[{"z":0.0,"y":-7789.2842385249505,"x":-2116.2170004397535},{"z":0.0,"y":-7789.2842385249523,"x":-1371.2170004397533}],[{"z":0.0,"y":-7789.2842385249523,"x":-1371.2170004397533},{"z":0.0,"y":-7789.2842385249623,"x":1638.7829995602522}],[{"z":0.0,"y":-7789.2842385249623,"x":1638.7829995602522},{"z":0.0,"y":-7789.2842385249642,"x":2383.7829995602478}],[{"z":0.0,"y":-7789.2842385249642,"x":2383.7829995602483},{"z":0.0,"y":-6839.284238524976,"x":2383.7829995602497}],[{"z":0.0,"y":-6839.284238524976,"x":2383.7829995602497},{"z":0.0,"y":-6839.284238524976,"x":2238.7829995602342}],[{"z":0.0,"y":-6839.284238524976,"x":2238.7829995602342},{"z":0.0,"y":-5549.28423852497,"x":2238.7829995602365}],[{"z":0.0,"y":-5549.28423852497,"x":2238.7829995602365},{"z":0.0,"y":-4274.28423852497,"x":2238.7829995602406}],[{"z":0.0,"y":-4274.28423852497,"x":2238.7829995602406},{"z":0.0,"y":-4274.2842385249651,"x":666.78299956024352}]]]}
, id=380345, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=0], minPt=[x=-2116.21691568671, y=-7789.28392656946, z=0], name=门厅 24]
, elevation=0, height=3500, id=311, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/311.png, name=F1, rooms=, structElev=0]
[archElev=3500, Areas=[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":6067.7157614750558,"x":-5571.2170004397294},{"z":3499.9999999999995,"y":1847.7157614750554,"x":-5571.2170004397367}],[{"z":3499.9999999999995,"y":1847.7157614750554,"x":-5571.2170004397367},{"z":3499.9999999999995,"y":1847.7157614750374,"x":108.78299956026373}],[{"z":3499.9999999999995,"y":1847.7157614750374,"x":108.78299956026378},{"z":3499.9999999999995,"y":4312.7157614750358,"x":108.78299956026775}],[{"z":3499.9999999999995,"y":4312.7157614750367,"x":108.78299956026775},{"z":3499.9999999999995,"y":4457.7157614750367,"x":108.782999560268}],[{"z":3499.9999999999995,"y":4457.7157614750367,"x":108.782999560268},{"z":3499.9999999999995,"y":6067.7157614750377,"x":108.7829995602706}],[{"z":3499.9999999999995,"y":6067.7157614750367,"x":108.7829995602706},{"z":3499.9999999999995,"y":6067.7157614750558,"x":-5571.2170004397294}]]]}
, id=306373, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=3499.9998598274], minPt=[x=-5571.21677731631, y=1847.71568747529, z=3499.9998598274], name=次卧 8]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":-6839.2842385249623,"x":-2116.2170004397522},{"z":3499.9999999999995,"y":-7644.2842385249514,"x":-2116.2170004397531}],[{"z":3499.9999999999995,"y":-7644.2842385249514,"x":-2116.2170004397531},{"z":3499.9999999999995,"y":-7644.2842385249542,"x":-1371.2170004397528}],[{"z":3499.9999999999995,"y":-7644.2842385249542,"x":-1371.2170004397528},{"z":3499.9999999999995,"y":-7644.2842385249642,"x":1638.7829995602526}],[{"z":3499.9999999999995,"y":-7644.2842385249642,"x":1638.7829995602526},{"z":3499.9999999999995,"y":-7644.284238524966,"x":2383.7829995602483}],[{"z":3499.9999999999995,"y":-7644.284238524966,"x":2383.7829995602483},{"z":3499.9999999999995,"y":-6839.2842385250142,"x":2383.7829995602497}],[{"z":3499.9999999999995,"y":-6839.284238524976,"x":2383.7829995602497},{"z":3499.9999999999995,"y":-6839.2842385249733,"x":1638.78299956025}],[{"z":3499.9999999999995,"y":-6839.2842385249733,"x":1638.78299956025},{"z":3499.9999999999995,"y":-6549.2842385249742,"x":1638.782999560251}],[{"z":3499.9999999999995,"y":-6549.2842385249742,"x":1638.782999560251},{"z":3499.9999999999995,"y":-6549.2842385249769,"x":2238.7829995602533}],[{"z":3499.9999999999995,"y":-6549.2842385249769,"x":2238.7829995602533},{"z":3499.9999999999995,"y":-5549.28423852497,"x":2238.7829995602547}],[{"z":3499.9999999999995,"y":-5549.28423852497,"x":2238.7829995602547},{"z":3499.9999999999995,"y":-4274.28423852497,"x":2238.7829995602569}],[{"z":3499.9999999999995,"y":-4274.28423852497,"x":2238.7829995602569},{"z":3499.9999999999995,"y":-4274.284238524956,"x":-1971.2170004397469}],[{"z":3499.9999999999995,"y":-4274.284238524956,"x":-1971.2170004397474},{"z":3499.9999999999995,"y":-5249.284238524956,"x":-1971.217000439749}],[{"z":3499.9999999999995,"y":-5249.284238524956,"x":-1971.217000439749},{"z":3499.9999999999995,"y":-6549.2842385249633,"x":-1971.2170004397512}],[{"z":3499.9999999999995,"y":-6549.2842385249633,"x":-1971.2170004397512},{"z":3499.9999999999995,"y":-6549.284238524966,"x":-1371.2170004397512}],[{"z":3499.9999999999995,"y":-6549.284238524966,"x":-1371.2170004397512},{"z":3499.9999999999995,"y":-6839.2842385249651,"x":-1371.2170004397524}],[{"z":3499.9999999999995,"y":-6839.2842385249651,"x":-1371.2170004397524},{"z":3499.9999999999995,"y":-6839.2842385249623,"x":-2116.2170004397522}]]]}
, id=306376, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=3499.9998598274], minPt=[x=-2116.21691568671, y=-7644.28393237662, z=3499.9998598274], name=健身房 9]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":4167.7157614750313,"x":2238.78299956027},{"z":3499.9999999999995,"y":4167.7157614750367,"x":398.7829995602674}],[{"z":3499.9999999999995,"y":4167.7157614750367,"x":398.78299956026757},{"z":3499.9999999999995,"y":1847.7157614750361,"x":398.7829995602637}],[{"z":3499.9999999999995,"y":1847.7157614750363,"x":398.7829995602637},{"z":3499.9999999999995,"y":1847.7157614750306,"x":2238.7829995602669}],[{"z":3499.9999999999995,"y":1847.7157614750306,"x":2238.7829995602669},{"z":3499.9999999999995,"y":4167.7157614750313,"x":2238.78299956027}]]]}
, id=306379, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=3499.9998598274], minPt=[x=398.782983589278, y=1847.71568747528, z=3499.9998598274], name=卫生间 10]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":4167.7157614750149,"x":7038.7829995602679},{"z":3499.9999999999995,"y":4167.71576147503,"x":2528.7829995602706}],[{"z":3499.9999999999995,"y":4167.71576147503,"x":2528.7829995602706},{"z":3499.9999999999995,"y":1702.71576147503,"x":2528.7829995602665}],[{"z":3499.9999999999995,"y":1702.71576147503,"x":2528.7829995602665},{"z":3499.9999999999995,"y":-3984.28423852497,"x":2528.7829995602574}],[{"z":3499.9999999999995,"y":-3984.28423852497,"x":2528.7829995602574},{"z":3499.9999999999995,"y":-3984.2842385249869,"x":7183.7829995602533}],[{"z":3499.9999999999995,"y":-3984.2842385249869,"x":7183.7829995602533},{"z":3499.9999999999995,"y":-3984.28423852499,"x":8128.7829995602533}],[{"z":3499.9999999999995,"y":-3984.28423852499,"x":8128.7829995602533},{"z":3499.9999999999995,"y":1157.7157614750104,"x":8128.7829995602615}],[{"z":3499.9999999999995,"y":1157.715761475011,"x":8128.7829995602615},{"z":3499.9999999999995,"y":1157.7157614750147,"x":7038.7829995602624}],[{"z":3499.9999999999995,"y":1157.7157614750147,"x":7038.7829995602624},{"z":3499.9999999999995,"y":4167.7157614750149,"x":7038.7829995602679}]]]}
, id=306386, levelId=, maxPt=[x=8128.78267400807, y=4167.71559456087, z=3499.9998598274], minPt=[x=2528.78289828423, y=-3984.28407895714, z=3499.9998598274], name=活动室 11]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":1557.715761475067,"x":-9181.2170004397376},{"z":3499.9999999999995,"y":-3977.2842385249332,"x":-9181.2170004397449}],[{"z":3499.9999999999995,"y":-3977.2842385249337,"x":-9181.2170004397449},{"z":3499.9999999999995,"y":-3977.2842385249451,"x":-5778.2170004397476}],[{"z":3499.9999999999995,"y":-3977.2842385249451,"x":-5778.2170004397476},{"z":3499.9999999999995,"y":337.715761475056,"x":-5778.21700043974}],[{"z":3499.9999999999995,"y":337.71576147505613,"x":-5778.21700043974},{"z":3499.9999999999995,"y":1557.7157614750561,"x":-5778.2170004397385}],[{"z":3499.9999999999995,"y":1557.7157614750561,"x":-5778.2170004397385},{"z":3499.9999999999995,"y":1557.715761475067,"x":-9181.2170004397376}]]]}
, id=309558, levelId=, maxPt=[x=-5778.2167690261, y=1557.71569908962, z=3499.9998598274], minPt=[x=-9181.21663273829, y=-3977.28407923744, z=3499.9998598274], name=次卧 21]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":275.71576147504487,"x":-2261.2170004397403},{"z":3499.9999999999995,"y":275.71576147505584,"x":-5654.21700043974}],[{"z":3499.9999999999995,"y":275.71576147505584,"x":-5654.21700043974},{"z":3499.9999999999995,"y":-3977.2842385249451,"x":-5654.2170004397476}],[{"z":3499.9999999999995,"y":-3977.2842385249451,"x":-5654.2170004397476},{"z":3499.9999999999995,"y":-3977.284238524956,"x":-2261.2170004397476}],[{"z":3499.9999999999995,"y":-3977.284238524956,"x":-2261.2170004397472},{"z":3499.9999999999995,"y":275.7157614750447,"x":-2261.2170004397403}]]]}
, id=309561, levelId=, maxPt=[x=-2261.21690987955, y=275.715750432828, z=3499.9998598274], minPt=[x=-5654.21677399223, y=-3977.28407923745, z=3499.9998598274], name=次卧 22]
[boundary={"version":"2.0","loops":[[[{"z":3499.9999999999995,"y":-3984.2842385249696,"x":2238.7829995602574},{"z":3499.9999999999995,"y":1557.7157614750304,"x":2238.782999560266}],[{"z":3499.9999999999995,"y":1557.7157614750304,"x":2238.782999560266},{"z":3499.9999999999995,"y":1557.7157614750367,"x":253.78299956026325}],[{"z":3499.9999999999995,"y":1557.7157614750367,"x":253.78299956026325},{"z":3499.9999999999995,"y":1557.7157614750556,"x":-5654.2170004397385}],[{"z":3499.9999999999995,"y":1557.7157614750556,"x":-5654.2170004397385},{"z":3499.9999999999995,"y":399.71576147505573,"x":-5654.21700043974}],[{"z":3499.9999999999995,"y":399.71576147505584,"x":-5654.21700043974},{"z":3499.9999999999995,"y":399.71576147504391,"x":-1971.2170004397403}],[{"z":3499.9999999999995,"y":399.71576147504391,"x":-1971.2170004397403},{"z":3499.9999999999995,"y":-3984.284238524956,"x":-1971.2170004397472}],[{"z":3499.9999999999995,"y":-3984.284238524956,"x":-1971.2170004397472},{"z":3499.9999999999995,"y":-3984.2842385249696,"x":2238.7829995602569}]]]}
, id=309564, levelId=, maxPt=[x=2238.78290989854, y=1557.71569908961, z=3499.9998598274], minPt=[x=-5654.21677399222, y=-3984.28407895711, z=3499.9998598274], name=过厅 23]
, elevation=3500, height=3500, id=694, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/694.png, name=F2, rooms=, structElev=3500]
[archElev=7000, Areas=[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":6067.7157614750558,"x":-5571.2170004397294},{"z":7000.0000000000009,"y":1847.7157614750554,"x":-5571.2170004397367}],[{"z":7000.0000000000009,"y":1847.7157614750554,"x":-5571.2170004397367},{"z":7000.0000000000009,"y":1847.7157614750445,"x":-2116.2170004397385}],[{"z":7000.0000000000009,"y":1847.7157614750445,"x":-2116.2170004397385},{"z":7000.0000000000009,"y":1847.7157614750374,"x":108.78299956026373}],[{"z":7000.0000000000009,"y":1847.7157614750374,"x":108.78299956026378},{"z":7000.0000000000009,"y":4312.7157614750367,"x":108.78299956026775}],[{"z":7000.0000000000009,"y":4312.7157614750367,"x":108.78299956026775},{"z":7000.0000000000009,"y":4457.7157614750367,"x":108.782999560268}],[{"z":7000.0000000000009,"y":4457.7157614750367,"x":108.782999560268},{"z":7000.0000000000009,"y":6067.7157614750377,"x":108.7829995602706}],[{"z":7000.0000000000009,"y":6067.7157614750367,"x":108.7829995602706},{"z":7000.0000000000009,"y":6067.7157614750558,"x":-5571.2170004397294}]]]}
, id=306808, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=6999.99971965479], minPt=[x=-5571.21677731631, y=1847.71568747529, z=6999.99971965479], name=露台 12]
[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":4167.7157614750313,"x":2238.78299956027},{"z":7000.0000000000009,"y":4167.7157614750367,"x":398.7829995602674}],[{"z":7000.0000000000009,"y":4167.7157614750367,"x":398.78299956026751},{"z":7000.0000000000009,"y":1847.7157614750361,"x":398.7829995602637}],[{"z":7000.0000000000009,"y":1847.7157614750363,"x":398.7829995602637},{"z":7000.0000000000009,"y":1847.7157614750306,"x":2238.7829995602669}],[{"z":7000.0000000000009,"y":1847.7157614750306,"x":2238.7829995602669},{"z":7000.0000000000009,"y":4167.7157614750313,"x":2238.78299956027}]]]}
, id=306811, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=6999.99971965479], minPt=[x=398.782983589278, y=1847.71568747528, z=6999.99971965479], name=卫生间 13]
[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":4167.7157614750149,"x":7038.7829995602679},{"z":7000.0000000000009,"y":4167.71576147503,"x":2528.7829995602706}],[{"z":7000.0000000000009,"y":4167.71576147503,"x":2528.7829995602706},{"z":7000.0000000000009,"y":1847.7157614750295,"x":2528.7829995602665}],[{"z":7000.0000000000009,"y":1847.7157614750295,"x":2528.7829995602665},{"z":7000.0000000000009,"y":1847.7157614750151,"x":7038.7829995602642}],[{"z":7000.0000000000009,"y":1847.7157614750151,"x":7038.7829995602642},{"z":7000.0000000000009,"y":4167.7157614750149,"x":7038.7829995602679}]]]}
, id=306814, levelId=, maxPt=[x=7038.78271766183, y=4167.71559456087, z=6999.99971965479], minPt=[x=2528.78289828424, y=1847.71568747526, z=6999.99971965479], name=露台 14]
[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":1302.7157614750142,"x":7038.7829995602624},{"z":7000.0000000000009,"y":1557.7157614750149,"x":7038.7829995602642}],[{"z":7000.0000000000009,"y":1557.7157614750149,"x":7038.7829995602642},{"z":7000.0000000000009,"y":1557.7157614750295,"x":2528.7829995602665}],[{"z":7000.0000000000009,"y":1557.7157614750295,"x":2528.7829995602665},{"z":7000.0000000000009,"y":-3984.28423852497,"x":2528.7829995602574}],[{"z":7000.0000000000009,"y":-3984.28423852497,"x":2528.7829995602574},{"z":7000.0000000000009,"y":-3984.2842385249864,"x":7038.7829995602542}],[{"z":7000.0000000000009,"y":-3984.2842385249864,"x":7038.7829995602542},{"z":7000.0000000000009,"y":1302.7157614750142,"x":7038.7829995602624}]]]}
, id=306817, levelId=, maxPt=[x=7038.78271766182, y=1557.71569908958, z=6999.99971965479], minPt=[x=2528.78289828423, y=-3984.28407895713, z=6999.99971965479], name=书房 15]
[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":-6599.2842385249569,"x":-1971.2170004397512},{"z":7000.0000000000009,"y":-6599.2842385249542,"x":-2116.2170004397517}],[{"z":7000.0000000000009,"y":-6599.2842385249542,"x":-2116.2170004397517},{"z":7000.0000000000009,"y":-7644.2842385249514,"x":-2116.2170004397531}],[{"z":7000.0000000000009,"y":-7644.2842385249514,"x":-2116.2170004397531},{"z":7000.0000000000009,"y":-7644.2842385249542,"x":-1371.2170004397528}],[{"z":7000.0000000000009,"y":-7644.2842385249542,"x":-1371.2170004397528},{"z":7000.0000000000009,"y":-7644.2842385249642,"x":1638.7829995602526}],[{"z":7000.0000000000009,"y":-7644.2842385249642,"x":1638.7829995602526},{"z":7000.0000000000009,"y":-7644.284238524966,"x":2383.7829995602483}],[{"z":7000.0000000000009,"y":-7644.284238524966,"x":2383.7829995602483},{"z":7000.0000000000009,"y":-6839.2842385250142,"x":2383.7829995602497}],[{"z":7000.0000000000009,"y":-6839.2842385250142,"x":2383.7829995602497},{"z":7000.0000000000009,"y":-6694.284238524976,"x":2238.7829995602528}],[{"z":7000.0000000000009,"y":-6694.284238524976,"x":2238.7829995602528},{"z":7000.0000000000009,"y":-4274.28423852497,"x":2238.7829995602569}],[{"z":7000.0000000000009,"y":-4274.28423852497,"x":2238.7829995602569},{"z":7000.0000000000009,"y":-4274.284238524956,"x":-1971.2170004397469}],[{"z":7000.0000000000009,"y":-4274.284238524956,"x":-1971.2170004397474},{"z":7000.0000000000009,"y":-6599.2842385249569,"x":-1971.2170004397512}]]]}
, id=306820, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=6999.99971965479], minPt=[x=-2116.21691568671, y=-7644.28393237662, z=6999.99971965479], name=书房 16]
[boundary={"version":"2.0","loops":[[[{"z":7000.0000000000009,"y":1557.715761475067,"x":-9181.2170004397376},{"z":7000.0000000000009,"y":-3977.2842385249332,"x":-9181.2170004397449}],[{"z":7000.0000000000009,"y":-3977.2842385249337,"x":-9181.2170004397449},{"z":7000.0000000000009,"y":-3977.284238524956,"x":-2261.2170004397476}],[{"z":7000.0000000000009,"y":-3977.284238524956,"x":-2261.2170004397472},{"z":7000.0000000000009,"y":1557.7157614750445,"x":-2261.2170004397385}],[{"z":7000.0000000000009,"y":1557.7157614750447,"x":-2261.2170004397385},{"z":7000.0000000000009,"y":1557.7157614750558,"x":-5716.2170004397367}],[{"z":7000.0000000000009,"y":1557.7157614750558,"x":-5716.2170004397367},{"z":7000.0000000000009,"y":1557.715761475067,"x":-9181.2170004397376}]]]}
, id=306823, levelId=, maxPt=[x=-2261.21690987955, y=1557.71569908962, z=6999.99971965479], minPt=[x=-9181.21663273829, y=-3977.28407923745, z=6999.99971965479], name=主卧 17]
, elevation=7000, height=3500, id=259581, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259581.png, name=F3, rooms=, structElev=7000]
[archElev=10500, Areas=, elevation=10500, height=4000, id=259628, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/259628.png, name=ROOF, rooms=, structElev=10500]      

测试代码如下:

1         // 获取单模型的楼层信息
 2         protected void btnGetSingleModelFloors_Click(object sender, EventArgs e)
 3         {
 4             long fileId = txtFileID.Text.Trim().ToLong();
 5             FileConvertApi api = new FileConvertApi();
 6             SingleModelFloors response = api.GetSingleModelFloors(txtAccessToken.Text, fileId, chkIncludeArea.Checked, chkIncludeRoom.Checked);
 7 
 8             StringBuilder sb = new StringBuilder();
 9             List<Floor> lstFloor = response.Data;
10             foreach (var floor in lstFloor)
11             {
12                 sb.AppendLine(floor.ToString());
13             }
14 
15             txtResult.Text = response.Code.ToString2()
16                            + Environment.NewLine
17                            + response.Message.ToString2()
18                            + Environment.NewLine
19                            + sb;
20         }      
C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息

成在管理,败在经验;嬴在选择,输在不学!  贵在坚持!

欢迎关注作者头条号 张传宁IT讲堂,获取更多IT文章、视频等优质内容。

C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息

个人作品

1、BIMFace.Community.SDK.NET

     开源地址:https://gitee.com/NAlps/BIMFace.SDK

     系列博客:https://www.cnblogs.com/SavionZhang/p/11424431.html

     系列视频:https://www.cnblogs.com/SavionZhang/p/14258393.html

2、ZCN.NET.Common

     开源地址:https://gitee.com/NAlps/zcn.net.common

C#开发BIMFACE系列21 服务端API之获取模型数据6:获取单模型的楼层信息

技术栈

 1、Visual Studio、.C#/.NET、.NET Core、MVC、Web API、RESTful API、gRPC、SignalR、Python

 2、jQuery、Vue.js、Bootstrap

 3、数据库:SQLServer、MySQL、PostgreSQL、Oracle、SQLite、Redis、MongoDB、ElasticSearch、TiDB、达梦DM、人大金仓、 神通、南大通用 GBase、华为 GaussDB 、腾讯 TDSQL 、阿里 PolarDB、蚂蚁金服 OceanBase、东软 OpenBASE、浪潮云溪数据库 ZNBase

 4、ORM:Dapper、Entity Framework、FreeSql、SqlSugar、分库分表、读写分离

 5、架构:领域驱动设计 DDD、ABP

 6、环境:跨平台、Windows、Linux(CentOS、麒麟、统信UOS、深度Linux)、maxOS、IIS、Nginx、Apach

 7、移动App:Android、IOS、HarmonyOS、微信、小程序、快应用、Xamarin、uni-app、MUI、Flutter、Framework7、Cordova、Ionic、React Native、Taro、NutUI、Smobiler

 云原生、微服务、Docker、CI/CD、DevOps、K8S;

 Dapr、RabbitMQ、Kafka、分布式、大数据、高并发、负载均衡、中间件、RPC、ELK;

 .NET + Docker + jenkins + Github + Harbor + K8S;

出处:www.cnblogs.com/SavionZhang

作者:张传宁   微软MCP、系统架构设计师、系统集成项目管理工程师、科技部创新工程师。

          专注于微软.NET技术(.NET Core、Web、MVC、WinForm、WPF)、通用权限管理系统、工作流引擎、自动化项目(代码)生成器、SOA 、DDD、 云原生(Docker、微服务、DevOps、CI/CD);PDF、CAD、BIM 审图等研究与应用。

          多次参与电子政务、图书教育、生产制造等企业级大型项目研发与管理工作。

          熟悉中小企业软件开发过程:需求分析、架构设计、编码测试、实施部署、项目管理。通过技术与管理帮助中小企业快速化实现互联网技术全流程解决方案。

本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

如有问题,可以通过邮件[email protected]联系。共同交流、互相学习。

如果您觉得文章对您有帮助,请点击文章右下角【推荐】。您的鼓励是作者持续创作的最大动力!

继续阅读