# 批量获取单模型管道构件流动贴图方向
POST https://api.bimface.com/data/v1/pipe/files/{file-id}/elements/uv-direction
# 说明
批量获取管道构件流动贴图方向。目前用于pdms格式文件的流向动画生成。
# 参数
# Header
Authorization * | Bearer {accessToken} | string |
# Path
file-id * | file-id | string |
# Body
elementIds | 构件id列表 | < string > array |
# 响应
HTTP代码 | 说明 | 类型 |
---|---|---|
200 | OK | GeneralResponseV1«List«EssentialPipingElementResponseBean»» |
201 | Created | - |
401 | Unauthorized | - |
403 | Forbidden | - |
404 | Not Found | - |
# 200响应参数
GeneralResponseV1«List«EssentialPipingElementResponseBean»»
名称 | 说明 | 类型 |
---|---|---|
code | 样例: "code" | string |
data | 返回数据 | < EssentialPipingElementResponseBean >array |
message | 提示信息 | string |
# 消耗
application/json
# 生成
*/*
application/json
# HTTP请求示例
# 请求 path
https://api.bimface.com/data/v1/pipe/files/10000017221161/elements/uv-direction
# 请求 header
"Authorization: Bearer dc671840-bacc-4dc5-a134-97c1918d664b"
# 请求 body
["123","456","789"]
# HTTP响应示例
# 响应 200
{
"code": "bimfaceservice-0000",
"message": null,
"data": [
{
"id":"123",
"uvDirection":"0"
},
{
"id":"456",
"uvDirection":"1"
},
{
"id":"789",
"uvDirection":"2"
}
]
}