简体   繁体   English

获得视野 [Autodesk Model 衍生 API]

[英]Get Discipline of View [Autodesk Model Derivative API]

I'm trying to get the Discipline Property of a Revit Model uploaded to BIM 360. I was able to get the list of views by GET https://developer.api.autodesk.com/modelderivative/v2/designdata/URL_SAFE_URN_OF_SOURCE_FILE/metadata However there is no data on Discipline. I'm trying to get the Discipline Property of a Revit Model uploaded to BIM 360. I was able to get the list of views by GET https://developer.api.autodesk.com/modelderivative/v2/designdata/URL_SAFE_URN_OF_SOURCE_FILE/metadata但是没有关于纪律的数据。 Where and how can I get it?我在哪里以及如何获得它?

I'm not familiar with "Discipline Properties" in Revit but I can comment on the Forge side of things:我不熟悉 Revit 中的“纪律属性”,但我可以评论 Forge 方面的事情:

The GET:urn/metadata endpoint simply returns a list of "viewables" that were extracted from the source design file. GET:urn/metadata端点仅返回从源设计文件中提取的“可视项”列表。 In case of Revit, these are typically 3D views or 2D sheets.对于 Revit,这些通常是 3D 视图或 2D 图纸。 I'm not aware of any other types of viewables that could be extracted by the Model Derivative service.我不知道 Model 衍生服务可以提取的任何其他类型的可视项。

If the "discipline property" is a property available on some of the Revit elements, you might want to take a look at the GET:urn/metadata/:guid/properties endpoint.如果“学科属性”是某些 Revit 元素上可用的属性,您可能需要查看GET:urn/metadata/:guid/properties端点。 This one returns a JSON with properties of objects in one of the extracted viewables.这个返回一个 JSON,其中包含一个提取的可视项中的对象属性。 Note that those properties are also accessible from Forge Viewer using its APIs.请注意,这些属性也可以从 Forge Viewer 使用其 API 访问。

In general, the Model Derivative service is trying to extract the "right" amount of information, making sure that the viewer gets all the important data for visualization and analysis, but also making sure that the size of the converted output stays in bounds.通常,Model 衍生服务试图提取“正确”数量的信息,确保查看者获得所有重要数据以进行可视化和分析,同时确保转换后的 output 的大小保持在界限内。 If there is some specific information in Revit designs that you need that is not extracted automatically, you can consider using the Design Automation service to process your Revit models in the cloud and extract all the information with your custom Revit plugin.如果您需要的 Revit 设计中的某些特定信息未自动提取,您可以考虑使用设计自动化服务在云中处理您的 Revit 模型,并使用您的自定义 Revit 插件提取所有信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM