一个文件/模型中可能包含多个楼层信息,获取楼层信息对于前端页面的动态展示非常有帮助。本篇介绍获取一个文件/模型中可能包含多个楼层信息的详细方法。
请求地址:GET https://api.bimface.com/data/v2/files/{fileId}/floors
说明:获取单个模型的所有楼层信息
参数:
请求 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" : "",
"levelId" : "",
"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" : "",
"miniMap" : "787e5907b0ca5cb35f5d10ba091a085b/resource/model/maps/elevation 1.png",
"name" : "elevation 1",
"rooms" : [ {
"boundary" : "",
"id" : "",
"levelId" : "",
"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 > )
{
foreach(var area in Areas)
{
sbAreas.AppendLine(area.ToString());
}
} StringBuilder sbRooms = new StringBuilder();
if (Rooms != null && Rooms.Length > )
{
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#实现方法:
/// <summary>
/// 获取单个模型的楼层信息
/// </summary>
/// <param name="accessToken">【必填】令牌</param>
/// <param name="fileId">【必填】代表该单模型的文件ID</param>
/// <param name="includeArea">【非必填】是否将楼层中的面积分区ID、名称一起返回</param>
/// <param name="includeRoom">【非必填】是否将楼层中的房间ID、名称一起返回</param>
/// <returns></returns>
public virtual SingleModelFloors GetSingleModelFloors(string accessToken, long fileId, bool? includeArea = null, bool? includeRoom = null)
{
// GET https://api.bimface.com/data/v2/files/{fileId}/floors
string url = string.Format(BimfaceConstants.API_HOST + "/data/v2/files/{0}/floors", fileId);
if (includeArea != null && includeRoom == null)
{
url = url + "?includeArea=" + includeArea;
}
else if (includeArea == null && includeRoom != null)
{
url = url + "?includeRoom=" + includeRoom;
}
else if (includeArea != null && includeRoom != null)
{
url = url + "?includeArea=" + includeArea + "&includeRoom=" + includeRoom;
} BimFaceHttpHeaders headers = new BimFaceHttpHeaders();
headers.AddOAuth2Header(accessToken); try
{
SingleModelFloors response; HttpManager httpManager = new HttpManager(headers);
HttpResult httpResult = httpManager.Get(url);
if (httpResult.Status == HttpResult.STATUS_SUCCESS)
{
response = httpResult.Text.DeserializeJsonToObject<SingleModelFloors>();
}
else
{
response = new SingleModelFloors
{
Message = httpResult.RefText
};
} return response;
}
catch (Exception ex)
{
throw new Exception("[获取单模型的楼层信息]发生异常!", ex);
}
}
其中调用到的 httpManager.Get() 方法,请参考《C# HTTP系列》
在BIMFACE的控制台中可以看到以下文件列表。模型状态均为转换成功。
以“01_BIMFACE示例文件-Revit模型.rvt”为例来测试。
success [archElev=, Areas=, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F1, rooms=, structElev=]
[archElev=, Areas=, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F2, rooms=, structElev=]
[archElev=, Areas=, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F3, rooms=, structElev=]
[archElev=, Areas=, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=ROOF, rooms=, structElev=]
[archElev=-, Areas=, elevation=-, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=地坪, rooms=, structElev=-]
如果选择了【是否将楼层中的面积分区ID、名称一起返回】选项,则返回如下结果
success [archElev=-, Areas=, elevation=-, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=地坪, rooms=, structElev=-]
[archElev=, Areas=, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F1, rooms=, structElev=]
[archElev=, Areas=, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F2, rooms=, structElev=]
[archElev=, Areas=, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F3, rooms=, structElev=]
[archElev=, Areas=, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=ROOF, rooms=, structElev=]
如果选择了【是否将楼层中的房间ID、名称一起返回】选项,则返回如下结果
success [archElev=-, Areas=, elevation=-, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=地坪, rooms=, structElev=-]
[archElev=, 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=, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=], minPt=[x=-5571.21677731631, y=1847.71568747529, z=], name=餐厅 ]
[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=, levelId=, maxPt=[x=8128.78267400807, y=4167.71559456087, z=], minPt=[x=2528.78289828421, y=-5404.2840220871, z=], name=客厅 ]
[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=, levelId=, maxPt=[x=-2261.21690987955, y=-54.2842363508981, z=], minPt=[x=-5571.21677731632, y=-5104.28403410187, z=], name=厨房 ]
[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=, levelId=, maxPt=[x=-5861.21676570201, y=1557.71569908962, z=], minPt=[x=-9181.21663273829, y=-5104.28403410186, z=], name=车库 ]
[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=, levelId=, maxPt=[x=2238.78290989853, y=1557.71569908961, z=], minPt=[x=-5571.21677731631, y=-4274.28406734281, z=], name=过厅 ]
[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=, levelId=, maxPt=[x=604.782975339101, y=-2740.28412877845, z=], minPt=[x=-1971.21692149386, y=-3984.28407895711, z=], name=仓库 ]
[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=, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=], minPt=[x=398.782983589279, y=1847.71568747528, z=], name=卫生间 ]
[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=, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=], minPt=[x=-2116.21691568671, y=-7789.28392656946, z=], name=门厅 ]
, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F1, rooms=, structElev=]
[archElev=, 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=, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=3499.9998598274], minPt=[x=-5571.21677731631, y=1847.71568747529, z=3499.9998598274], name=次卧 ]
[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=, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=3499.9998598274], minPt=[x=-2116.21691568671, y=-7644.28393237662, z=3499.9998598274], name=健身房 ]
[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=, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=3499.9998598274], minPt=[x=398.782983589278, y=1847.71568747528, z=3499.9998598274], name=卫生间 ]
[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=, levelId=, maxPt=[x=8128.78267400807, y=4167.71559456087, z=3499.9998598274], minPt=[x=2528.78289828423, y=-3984.28407895714, z=3499.9998598274], name=活动室 ]
[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=, levelId=, maxPt=[x=-5778.2167690261, y=1557.71569908962, z=3499.9998598274], minPt=[x=-9181.21663273829, y=-3977.28407923744, z=3499.9998598274], name=次卧 ]
[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=, levelId=, maxPt=[x=-2261.21690987955, y=275.715750432828, z=3499.9998598274], minPt=[x=-5654.21677399223, y=-3977.28407923745, z=3499.9998598274], name=次卧 ]
[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=, levelId=, maxPt=[x=2238.78290989854, y=1557.71569908961, z=3499.9998598274], minPt=[x=-5654.21677399222, y=-3984.28407895711, z=3499.9998598274], name=过厅 ]
, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F2, rooms=, structElev=]
[archElev=, 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=, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=6999.99971965479], minPt=[x=-5571.21677731631, y=1847.71568747529, z=6999.99971965479], name=露台 ]
[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=, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=6999.99971965479], minPt=[x=398.782983589278, y=1847.71568747528, z=6999.99971965479], name=卫生间 ]
[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=, levelId=, maxPt=[x=7038.78271766183, y=4167.71559456087, z=6999.99971965479], minPt=[x=2528.78289828424, y=1847.71568747526, z=6999.99971965479], name=露台 ]
[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=, levelId=, maxPt=[x=7038.78271766182, y=1557.71569908958, z=6999.99971965479], minPt=[x=2528.78289828423, y=-3984.28407895713, z=6999.99971965479], name=书房 ]
[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=, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=6999.99971965479], minPt=[x=-2116.21691568671, y=-7644.28393237662, z=6999.99971965479], name=书房 ]
[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=, levelId=, maxPt=[x=-2261.21690987955, y=1557.71569908962, z=6999.99971965479], minPt=[x=-9181.21663273829, y=-3977.28407923745, z=6999.99971965479], name=主卧 ]
, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F3, rooms=, structElev=]
[archElev=, Areas=, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=ROOF, rooms=, structElev=]
如果【是否将楼层中的面积分区ID、名称一起返回、【是否将楼层中的房间ID、名称一起返回】】2个选项都选择,则返回如下结果
success [archElev=-, Areas=, elevation=-, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=地坪, rooms=, structElev=-]
[archElev=, 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=, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=], minPt=[x=-5571.21677731631, y=1847.71568747529, z=], name=餐厅 ]
[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=, levelId=, maxPt=[x=8128.78267400807, y=4167.71559456087, z=], minPt=[x=2528.78289828421, y=-5404.2840220871, z=], name=客厅 ]
[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=, levelId=, maxPt=[x=-2261.21690987955, y=-54.2842363508981, z=], minPt=[x=-5571.21677731632, y=-5104.28403410187, z=], name=厨房 ]
[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=, levelId=, maxPt=[x=-5861.21676570201, y=1557.71569908962, z=], minPt=[x=-9181.21663273829, y=-5104.28403410186, z=], name=车库 ]
[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=, levelId=, maxPt=[x=2238.78290989853, y=1557.71569908961, z=], minPt=[x=-5571.21677731631, y=-4274.28406734281, z=], name=过厅 ]
[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=, levelId=, maxPt=[x=604.782975339101, y=-2740.28412877845, z=], minPt=[x=-1971.21692149386, y=-3984.28407895711, z=], name=仓库 ]
[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=, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=], minPt=[x=398.782983589279, y=1847.71568747528, z=], name=卫生间 ]
[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=, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=], minPt=[x=-2116.21691568671, y=-7789.28392656946, z=], name=门厅 ]
, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F1, rooms=, structElev=]
[archElev=, 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=, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=3499.9998598274], minPt=[x=-5571.21677731631, y=1847.71568747529, z=3499.9998598274], name=次卧 ]
[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=, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=3499.9998598274], minPt=[x=-2116.21691568671, y=-7644.28393237662, z=3499.9998598274], name=健身房 ]
[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=, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=3499.9998598274], minPt=[x=398.782983589278, y=1847.71568747528, z=3499.9998598274], name=卫生间 ]
[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=, levelId=, maxPt=[x=8128.78267400807, y=4167.71559456087, z=3499.9998598274], minPt=[x=2528.78289828423, y=-3984.28407895714, z=3499.9998598274], name=活动室 ]
[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=, levelId=, maxPt=[x=-5778.2167690261, y=1557.71569908962, z=3499.9998598274], minPt=[x=-9181.21663273829, y=-3977.28407923744, z=3499.9998598274], name=次卧 ]
[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=, levelId=, maxPt=[x=-2261.21690987955, y=275.715750432828, z=3499.9998598274], minPt=[x=-5654.21677399223, y=-3977.28407923745, z=3499.9998598274], name=次卧 ]
[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=, levelId=, maxPt=[x=2238.78290989854, y=1557.71569908961, z=3499.9998598274], minPt=[x=-5654.21677399222, y=-3984.28407895711, z=3499.9998598274], name=过厅 ]
, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F2, rooms=, structElev=]
[archElev=, 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=, levelId=, maxPt=[x=108.782995203586, y=6067.7155184672, z=6999.99971965479], minPt=[x=-5571.21677731631, y=1847.71568747529, z=6999.99971965479], name=露台 ]
[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=, levelId=, maxPt=[x=2238.78290989854, y=4167.71559456087, z=6999.99971965479], minPt=[x=398.782983589278, y=1847.71568747528, z=6999.99971965479], name=卫生间 ]
[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=, levelId=, maxPt=[x=7038.78271766183, y=4167.71559456087, z=6999.99971965479], minPt=[x=2528.78289828424, y=1847.71568747526, z=6999.99971965479], name=露台 ]
[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=, levelId=, maxPt=[x=7038.78271766182, y=1557.71569908958, z=6999.99971965479], minPt=[x=2528.78289828423, y=-3984.28407895713, z=6999.99971965479], name=书房 ]
[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=, levelId=, maxPt=[x=2383.78290409137, y=-4274.2840673428, z=6999.99971965479], minPt=[x=-2116.21691568671, y=-7644.28393237662, z=6999.99971965479], name=书房 ]
[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=, levelId=, maxPt=[x=-2261.21690987955, y=1557.71569908962, z=6999.99971965479], minPt=[x=-9181.21663273829, y=-3977.28407923745, z=6999.99971965479], name=主卧 ]
, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=F3, rooms=, structElev=]
[archElev=, Areas=, elevation=, height=, id=, miniMap=f59e14129a8dd342eee5a606342dc862/resource/model/maps/.png, name=ROOF, rooms=, structElev=]
测试代码如下:
// 获取单模型的楼层信息
protected void btnGetSingleModelFloors_Click(object sender, EventArgs e)
{
long fileId = txtFileID.Text.Trim().ToLong();
FileConvertApi api = new FileConvertApi();
SingleModelFloors response = api.GetSingleModelFloors(txtAccessToken.Text, fileId, chkIncludeArea.Checked, chkIncludeRoom.Checked); StringBuilder sb = new StringBuilder();
List<Floor> lstFloor = response.Data;
foreach (var floor in lstFloor)
{
sb.AppendLine(floor.ToString());
} txtResult.Text = response.Code.ToString2()
+ Environment.NewLine
+ response.Message.ToString2()
+ Environment.NewLine
+ sb;
}