今天,我尝试将.rvt
文件转换为.svf
。我只想翻译3D视图。但是,作业的输出仅为2d视图,而不是预期的3d视图。几分钟前,我已经在具有相同参数的类似文件上运行了此过程,并且运行正常。
据我了解,如果我指定"type":"svf"
和"views":["3d"]
,则作业仅应返回3d导数,情况并非如此。我在这里想念东西吗?
模型派生柱体
{
"input": {
"urn": "dXJuOmFk...sucnZ0"
},
"output": {
"formats": [
{
"type": "svf",
"views": [
"3d"
]
}
]
}
}
模型导数响应200 OK
{
"result": "success",
"urn": "dXJuOmFk...sucnZ0",
"acceptedJobs": {
"output": {
"formats": [
{
"type": "svf",
"views": [
"3d"
]
}
]
}
}
}
模型衍生清单结果
{
"type": "manifest",
"hasThumbnail": "true",
"status": "success",
"progress": "complete",
"region": "US",
"urn": "dXJuOmFk...sucnZ0",
"version": "1.0",
"derivatives": [
{
"name": "00000_AnyCity_P12_LC_EQK.rvt",
"hasThumbnail": "true",
"status": "success",
"progress": "complete",
"outputType": "svf",
"children": [
{
"guid": "6fac95cb-af5d-3e4f-b943-8a7f55847ff1",
"type": "resource",
"role": "Autodesk.CloudPlatform.PropertyDatabase",
"urn": "urn:adsk.viewing:fs.file:dXJuOmFk...sucnZ0/output/Resource/model.sdb",
"mime": "application/autodesk-db",
"status": "success"
},
{
"guid": "9a5308f5-16b3-4497-ba36-c22d6f1381bf-00507cc3",
"type": "geometry",
"role": "2d",
"name": "K-601L - ELECTRICAL ROUGH-IN ELEVATIONS",
"viewableID": "9a5308f5-16b3-4497-ba36-c22d6f1381bf-00507cc3",
"phaseNames": "New Construction",
"ViewSets": "Set 1 LRG",
"status": "success",
"progress": "complete",
"properties": {
"Print Setting": {
"Layout": "Landscape",
"Paper size": "ISO A4, 210 x 297 mm"
}
},
"hasThumbnail": "true",
"children": [
...
]
},
...
{
"guid": "9a5308f5-16b3-4497-ba36-c22d6f1381bf-00507cf9",
"type": "geometry",
"role": "2d",
"name": "K-212L - ENLARGED EQUIPMENT FLOOR PLAN",
"viewableID": "9a5308f5-16b3-4497-ba36-c22d6f1381bf-00507cf9",
"phaseNames": "New Construction",
"ViewSets": "Set 1 LRG",
"status": "success",
"progress": "complete",
"properties": {
"Print Setting": {
"Layout": "Landscape",
"Paper size": "ISO A4, 210 x 297 mm"
}
},
"hasThumbnail": "true",
"children": [
...
]
}
]
},
{
"status": "success",
"progress": "complete",
"outputType": "thumbnail",
"children": [
...
]
}
]
}
答案 0 :(得分:1)
您需要明确指定要翻译的3D视图。
这是通过在C4R UI中选择它们来完成的,如以下博客文章所述: