Forge API - 检查翻译结果时缺少 IFC 衍生物

Forge API -missing IFC derivatives when checking translation result

我正在尝试直接从 BIM360 翻译 revit 文件。
我这样发布了一份工作:

            List<JobPayloadItem> outputs = new List<JobPayloadItem> {
                new (JobPayloadItem.TypeEnum.Ifc)
            };
            string workFlowId = Guid.NewGuid().ToString();
            JobPayloadMisc misc = new JobPayloadMisc(workFlowId);
            JobPayloadDestination.RegionEnum destinationRegion = JobPayloadDestination.RegionEnum.US;
            JobPayloadDestination destination = new JobPayloadDestination(destinationRegion);
            JobPayload payload = new JobPayload(new JobPayloadInput(base64Urn), new JobPayloadOutput(outputs, destination), misc);
            
            m_api.Configuration.AccessToken = accessToken;
            DynamicJsonResponse response = await m_api.TranslateAsync(payload, true);

当我尝试使用安全骨灰盒检查它的结果时,我得到这样的响应:

   DynamicJsonResponse result = await m_api.GetManifestAsync(base64Urn);

回复中没有IFC衍生工作(我用*****代替了一些私人信息)。
这是回复:

{
    "urn": "*****",
    "derivatives": {
        "0": {
            "hasThumbnail": "true",
            "overrideOutputType": "svf2",
            "children": {
                "0": {
                    "urn": "urn:adsk.viewing:fs.file:*****/output/Resource/model.sdb",
                    "role": "Autodesk.CloudPlatform.PropertyDatabase",
                    "mime": "application/autodesk-db",
                    "guid": "6fac95cb-af5d-3e4f-b943-8a7f55847ff1",
                    "type": "resource",
                    "status": "success"
                },
                "1": {
                    "urn": "urn:adsk.viewing:fs.file:*****/output/Resource/AECModelData.json",
                    "role": "Autodesk.AEC.ModelData",
                    "mime": "application/json",
                    "guid": "a4aac952-a3f4-031c-4113-b2d9ac2d0de6",
                    "type": "resource",
                    "status": "success"
                },
                "2": {
                    "guid": "86dcdfb0-d97d-e3d7-3404-b53abf1678b1",
                    "phaseNames": "New Construction",
                    "hasThumbnail": "true",
                    "role": "3d",
                    "name": "3D",
                    "progress": "complete",
                    "type": "geometry",
                    "viewableID": "92b5dec7-790a-45b0-a5e8-cd9f76058c3a-009a4098",
                    "status": "success",
                    "children": {
                        "0": {
                            "guid": "92b5dec7-790a-45b0-a5e8-cd9f76058c3a-009a4098",
                            "role": "3d",
                            "name": "3D",
                            "progress": "complete",
                            "camera": {
                                "0": 625.0464477539063,
                                "1": -563.9346313476563,
                                "2": 833.3741455078125,
                                "3": 96.7083740234375,
                                "4": -35.5965690612793,
                                "5": 305.0361022949219,
                                "6": -0.40824830532073977,
                                "7": 0.40824830532073977,
                                "8": 0.8164966106414795,
                                "9": 0.6307491064071655,
                                "10": 0,
                                "11": 1,
                                "12": 1
                            },
                            "type": "view",
                            "status": "success"
                        },
                        "1": {
                            "urn": "urn:adsk.viewing:fs.file:*****/output/Resource/3D View/3D/3D.svf",
                            "role": "graphics",
                            "mime": "application/autodesk-svf",
                            "guid": "fbec8b0f-58d6-2e86-30c8-211e4056efeb",
                            "type": "resource"
                        },
                        "2": {
                            "urn": "urn:adsk.viewing:fs.file:*****/output/Resource/3D View/3D/3D1.png",
                            "role": "thumbnail",
                            "mime": "image/png",
                            "guid": "c70aa596-d404-714f-6795-9276087c3800",
                            "type": "resource",
                            "resolution": {
                                "0": 100,
                                "1": 100
                            },
                            "status": "success"
                        },
                        "3": {
                            "urn": "urn:adsk.viewing:fs.file:*****/output/Resource/3D View/3D/3D2.png",
                            "role": "thumbnail",
                            "mime": "image/png",
                            "guid": "6ef65d1a-4a59-111d-f1ec-4e543bd2712b",
                            "type": "resource",
                            "resolution": {
                                "0": 200,
                                "1": 200
                            },
                            "status": "success"
                        },
                        "4": {
                            "urn": "urn:adsk.viewing:fs.file:*****/output/Resource/3D View/3D/3D4.png",
                            "role": "thumbnail",
                            "mime": "image/png",
                            "guid": "2c06739e-5164-4f6d-450e-c8833fd2a2ba",
                            "type": "resource",
                            "resolution": {
                                "0": 400,
                                "1": 400
                            },
                            "status": "success"
                        }
                    }
                },
                "3": {
                    "isMasterView": true,
                    "phaseNames": "New Construction",
                    "hasThumbnail": "true",
                    "role": "3d",
                    "children": {
                        "0": {
                            "guid": "c884ae1b-61e7-4f9d-0001-719e20b22d0b-009a40af",
                            "role": "3d",
                            "name": "New Construction",
                            "progress": "complete",
                            "camera": {
                                "0": 594.0901489257813,
                                "1": -500.6220397949219,
                                "2": 819.0045166015625,
                                "3": 95.86978149414063,
                                "4": -2.4016761779785158,
                                "5": 320.78411865234377,
                                "6": -0.40824830532073977,
                                "7": 0.40824830532073977,
                                "8": 0.8164966106414795,
                                "9": 0.3480738401412964,
                                "10": 0,
                                "11": 1,
                                "12": 1
                            },
                            "type": "view",
                            "status": "success"
                        },
                        "1": {
                            "urn": "urn:adsk.viewing:fs.file:*****/output/Resource/3D View/*****/New Construction/New Construction.svf",
                            "role": "graphics",
                            "mime": "application/autodesk-svf",
                            "guid": "3572dadf-f7d8-cf8b-a625-967f27309e85",
                            "type": "resource"
                        },
                        "2": {
                            "urn": "urn:adsk.viewing:fs.file:*****/output/Resource/3D View/*****/New Construction/New Construction1.png",
                            "role": "thumbnail",
                            "mime": "image/png",
                            "guid": "a3c19573-8948-7ae0-fb5c-75cab1d0e87a",
                            "type": "resource",
                            "resolution": {
                                "0": 100,
                                "1": 100
                            },
                            "status": "success"
                        },
                        "3": {
                            "urn": "urn:adsk.viewing:fs.file:*****/output/Resource/3D View/*****/New Construction/New Construction2.png",
                            "role": "thumbnail",
                            "mime": "image/png",
                            "guid": "86d53dd2-82c8-1948-5997-00ebf6078ed7",
                            "type": "resource",
                            "resolution": {
                                "0": 200,
                                "1": 200
                            },
                            "status": "success"
                        },
                        "4": {
                            "urn": "urn:adsk.viewing:fs.file:*****/output/Resource/3D View/*****/New Construction/New Construction4.png",
                            "role": "thumbnail",
                            "mime": "image/png",
                            "guid": "7e36c074-8997-d941-4dc3-6a72fcdf3b9b",
                            "type": "resource",
                            "resolution": {
                                "0": 400,
                                "1": 400
                            },
                            "status": "success"
                        }
                    },
                    "name": "New Construction",
                    "guid": "4b621e7d-f520-422b-95fd-645b8690168a",
                    "progress": "complete",
                    "type": "geometry",
                    "viewableID": "c884ae1b-61e7-4f9d-0001-719e20b22d0b-009a40af",
                    "status": "success"
                }
            },
            "name": "*****.rvt",
            "progress": "complete",
            "messages": {
                "0": {
                    "type": "warning",
                    "code": "Revit-MissingLink",
                    "message": {
                        "0": "Missing link files: 
    {0}
", "1": "08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg" } } }, "outputType": "svf", "status": "success" }, "1": { "children": { "0": { "urn": "urn:adsk.viewing:fs.file:*****/output/preview1.png", "role": "thumbnail", "mime": "image/png", "guid": "db899ab5-939f-e250-d79d-2d1637ce4565", "type": "resource", "resolution": { "0": 100, "1": 100 }, "status": "success" }, "1": { "urn": "urn:adsk.viewing:fs.file:*****/output/preview2.png", "role": "thumbnail", "mime": "image/png", "guid": "3f6c118d-f551-7bf0-03c9-8548d26c9772", "type": "resource", "resolution": { "0": 200, "1": 200 }, "status": "success" }, "2": { "urn": "urn:adsk.viewing:fs.file:*****/output/preview4.png", "role": "thumbnail", "mime": "image/png", "guid": "4e751806-0920-ce32-e9fd-47c3cec21536", "type": "resource", "resolution": { "0": 400, "1": 400 }, "status": "success" } }, "progress": "complete", "outputType": "thumbnail", "status": "success" } }, "hasThumbnail": "true", "messages": { "0": { "type": "warning", "code": "Revit-MissingLink", "message": { "0": "Missing link files:
    {0}
", "1": "08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg, 08.12.2019. *****.dwg" } } }, "progress": "99% complete", "type": "manifest", "region": "US", "version": "1.0", "status": "inprogress" }

我做错了什么?

当您请求 IFC 翻译时,您应该会收到 IFC 翻译请求已被接受(成功)的响应。稍后当您请求清单时,在完全处理之前您将看不到 IFC 输出。在您的示例中,您会看到 SVF2 输出,因为这在 BIM360 上对于 RVT 文件是强制性的。 IFC 文件准备就绪后,将出现 IFC 条目。既然你前段时间申请了 IFC,请再次索要清单,现在应该已经到了。如果没有,请通过 forge.help 在 autodesk.com 联系我们并分享失败的 URN,我们将查看日志以隔离问题。