Skip to main content

I want to copy files from one folder to another in BIM360/ACC with AutodeskBIM360DocsConnector, and in BIM360/ACC there is a Default Attribute column for Description. And when I copy them in FME the Description does not come with. 

 

In AutodeskBIM360DocsConnector there is no option in Attributes to Add called Description. 

 

Any suggestions for how I can get the Description in the copy process? 🙂 

You'll have to make a separate API call using the HTTPCaller to retrieve custom attributes using https://forge.autodesk.com/en/docs/acc/v1/reference/http/document-management-custom-attribute-definitions-GET/

You can then unpack the custom attributes from the returned JSON document. You'll have to use a similar approach when writing back the custom attributes, probably using https://forge.autodesk.com/en/docs/acc/v1/reference/http/document-management-custom-attribute-definitions-POST/

In the HTTPCaller authentication settings, you should use the same web connection as the AutodeskBIM360DocsConnector.


You'll have to make a separate API call using the HTTPCaller to retrieve custom attributes using https://forge.autodesk.com/en/docs/acc/v1/reference/http/document-management-custom-attribute-definitions-GET/

You can then unpack the custom attributes from the returned JSON document. You'll have to use a similar approach when writing back the custom attributes, probably using https://forge.autodesk.com/en/docs/acc/v1/reference/http/document-management-custom-attribute-definitions-POST/

In the HTTPCaller authentication settings, you should use the same web connection as the AutodeskBIM360DocsConnector.

Hi @david_r​ ,

Thanks for answering. 🙂

Is it possible for you to paste an example for how to full the Forge Autodesk information inside HTTPCaller in FME? 🙂


You'll have to make a separate API call using the HTTPCaller to retrieve custom attributes using https://forge.autodesk.com/en/docs/acc/v1/reference/http/document-management-custom-attribute-definitions-GET/

You can then unpack the custom attributes from the returned JSON document. You'll have to use a similar approach when writing back the custom attributes, probably using https://forge.autodesk.com/en/docs/acc/v1/reference/http/document-management-custom-attribute-definitions-POST/

In the HTTPCaller authentication settings, you should use the same web connection as the AutodeskBIM360DocsConnector.

@david_r​ Attribute "Description" is a default attribute not a custom attribute.

Is it possible to made change in AutodeskBIM360DocsConnector to read "Description" also in FME?


@david_r​ Attribute "Description" is a default attribute not a custom attribute.

Is it possible to made change in AutodeskBIM360DocsConnector to read "Description" also in FME?

If it's not in a the custom attributes, you'll most probably get it from one of the other API endpoints. You can e.g. try

https://developer.api.autodesk.com/data/v1/projects/<PROJECT_ID>/folders/<folder-id>/contents

I do not know of any way to get this information from the AutodeskBIM360DocsConnector.


@david_r​ Attribute "Description" is a default attribute not a custom attribute.

Is it possible to made change in AutodeskBIM360DocsConnector to read "Description" also in FME?

Ok thanks @david_r​  🙂

I tried a lot of API endpoints to get that but I still can't read it.

I will try to get some help from Autodesk support.

I could by also nice to find a way to get this attribute in AutodeskBIM360DocsConnector 😉

 


@david_r​ Attribute "Description" is a default attribute not a custom attribute.

Is it possible to made change in AutodeskBIM360DocsConnector to read "Description" also in FME?

Unfortunately it seems the description column isn't currently exposed in the Autodesk API: https://stackoverflow.com/a/67411605

Sounds like contacting Autodesk is the best option here.


@david_r​ Attribute "Description" is a default attribute not a custom attribute.

Is it possible to made change in AutodeskBIM360DocsConnector to read "Description" also in FME?

Thanks @david_r​ 🙂 I will have a meeting with an Autodesk Forge developer to discuss this problem tomorrow.

Hope to find out a solution for that soon 🙂


I got this answer from Autodesk Forge support:

"I hate to disappoint you, but it is true Description field has not been exposed by the API. We have had a wish ticket: FDM-3124. We are pushing engineer team to implement.

It is a bad workaround, while it might be way you create one custom attribute and input description there. API with custom attribute is available."

https://forge.autodesk.com/blog/custom-attributes-apis-bim-360-document-are-now-public-beta


Reply