How can I download plan pdf file by bim360 api or sdk?Bim360: distinguish between Plans and Project Files folderDownload a Document with Autodesk APIAutodesk Forge Data Management API Download ItemUpdating the properties of an itemHow to view BIM360 files inside “Plan” folders?Error on rename BIM360 fileAPI access to BIM360 trial accountsBIM360 App Store: How to recognize Account IDAccess files located in the WIP folder of BIM360 Design (old C4R)Is there an API for BIM360 Submittals?Is it possible to delete or overwrite document in BIM360 Docs using API?Bim360: distinguish between Plans and Project Files folder
How would an order of Monks that renounce their names communicate effectively?
Different budgets within roommate group
Attempt to de-reference a null object: list initialization
GeoDatabase (GDB) import not working (QGIS3)
Should I report a leak of confidential HR information?
What is the line crossing the Pacific Ocean that is shown on maps?
Symbol for "not absolutely continuous" in Latex
I hit a pipe with a mower and now it won't turn
How is this practical and ancient scene shot?
Golf the smallest circle!
Do I have to roll to maintain concentration if a target other than me who is affected by my concentration spell takes damage?
Was it really unprofessional of me to leave without asking for a raise first?
Can I travel from Germany to England alone as an unaccompanied minor?
Convergenge or divergence of series with e
What is a macro? Difference between macro and function?
Mean Value Theorem: Continuous or Defined?
How can I convince my reader that I will not use a certain trope?
"Plugged in" or "Plugged in in"
Could human civilization live 150 years in a nuclear-powered aircraft carrier colony without resorting to mass killing/ cannibalism?
Which resurrection spells are valid to use with the Zealot's 'Warrior of the Gods' Feature?
Why are there so many religions and gods?
Can a US President have someone sent to prison?
Wrong corporate name on employment agreement
Most importants new papers in computational complexity
How can I download plan pdf file by bim360 api or sdk?
Bim360: distinguish between Plans and Project Files folderDownload a Document with Autodesk APIAutodesk Forge Data Management API Download ItemUpdating the properties of an itemHow to view BIM360 files inside “Plan” folders?Error on rename BIM360 fileAPI access to BIM360 trial accountsBIM360 App Store: How to recognize Account IDAccess files located in the WIP folder of BIM360 Design (old C4R)Is there an API for BIM360 Submittals?Is it possible to delete or overwrite document in BIM360 Docs using API?Bim360: distinguish between Plans and Project Files folder
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
According to the documentation (https://forge.autodesk.com/en/docs/data/v2/tutorials/download-file/)
I should get the storage object id from included.relationships.storage.data.id.
I can do it for all files uploaded to the bim360 except plans pdf files.
There is nothing about 'storage' in a whole response.
Here is "included" from my response:
'''
"included": [
"type": "versions",
"id": "XXX",
"attributes":
"name": "1ST FLOOR PLAN",
"displayName": "1ST FLOOR PLAN",
"createTime": "2019-01-10T09:19:16Z",
"createUserId": "3MYGKJ73V3SD",
"createUserName": "XXX",
"lastModifiedTime": "2019-01-10T09:19:19Z",
"lastModifiedUserId": "XXX",
"lastModifiedUserName": "XXX",
"versionNumber": 1,
"extension":
"type": "versions:autodesk.bim360:Document",
"version": "1.0",
"schema":
"href": "https://developer.api.autodesk.com/schema/v1/versions/versions:autodesk.bim360:Document-1.0"
,
"data":
"processState": "PROCESSING_COMPLETE",
"viewableId": "1",
"viewableGuid": "XXX",
"viewableName": "(1)",
"viewableOrder": 1,
"sourceFileName": "A1-1 DIMS FIRST FLOOR DIMENSION PLAN_V1_2019-01-10_09-54-54am.pdf"
,
"links":
"self":
"href": "XXX"
,
"relationships":
"item":
"data":
"type": "items",
"id": "XXX"
,
"links":
"related":
"href": "XXX"
,
"refs":
"links":
"self":
"href": "XXX"
,
"related":
"href": "XXX"
,
"links":
"links":
"self":
"href": "XXX"
,
"downloadFormats":
"links":
"related":
"href": "XXX"
]
'''
How can I deal with it?
autodesk-forge autodesk-bim360
add a comment |
According to the documentation (https://forge.autodesk.com/en/docs/data/v2/tutorials/download-file/)
I should get the storage object id from included.relationships.storage.data.id.
I can do it for all files uploaded to the bim360 except plans pdf files.
There is nothing about 'storage' in a whole response.
Here is "included" from my response:
'''
"included": [
"type": "versions",
"id": "XXX",
"attributes":
"name": "1ST FLOOR PLAN",
"displayName": "1ST FLOOR PLAN",
"createTime": "2019-01-10T09:19:16Z",
"createUserId": "3MYGKJ73V3SD",
"createUserName": "XXX",
"lastModifiedTime": "2019-01-10T09:19:19Z",
"lastModifiedUserId": "XXX",
"lastModifiedUserName": "XXX",
"versionNumber": 1,
"extension":
"type": "versions:autodesk.bim360:Document",
"version": "1.0",
"schema":
"href": "https://developer.api.autodesk.com/schema/v1/versions/versions:autodesk.bim360:Document-1.0"
,
"data":
"processState": "PROCESSING_COMPLETE",
"viewableId": "1",
"viewableGuid": "XXX",
"viewableName": "(1)",
"viewableOrder": 1,
"sourceFileName": "A1-1 DIMS FIRST FLOOR DIMENSION PLAN_V1_2019-01-10_09-54-54am.pdf"
,
"links":
"self":
"href": "XXX"
,
"relationships":
"item":
"data":
"type": "items",
"id": "XXX"
,
"links":
"related":
"href": "XXX"
,
"refs":
"links":
"self":
"href": "XXX"
,
"related":
"href": "XXX"
,
"links":
"links":
"self":
"href": "XXX"
,
"downloadFormats":
"links":
"related":
"href": "XXX"
]
'''
How can I deal with it?
autodesk-forge autodesk-bim360
add a comment |
According to the documentation (https://forge.autodesk.com/en/docs/data/v2/tutorials/download-file/)
I should get the storage object id from included.relationships.storage.data.id.
I can do it for all files uploaded to the bim360 except plans pdf files.
There is nothing about 'storage' in a whole response.
Here is "included" from my response:
'''
"included": [
"type": "versions",
"id": "XXX",
"attributes":
"name": "1ST FLOOR PLAN",
"displayName": "1ST FLOOR PLAN",
"createTime": "2019-01-10T09:19:16Z",
"createUserId": "3MYGKJ73V3SD",
"createUserName": "XXX",
"lastModifiedTime": "2019-01-10T09:19:19Z",
"lastModifiedUserId": "XXX",
"lastModifiedUserName": "XXX",
"versionNumber": 1,
"extension":
"type": "versions:autodesk.bim360:Document",
"version": "1.0",
"schema":
"href": "https://developer.api.autodesk.com/schema/v1/versions/versions:autodesk.bim360:Document-1.0"
,
"data":
"processState": "PROCESSING_COMPLETE",
"viewableId": "1",
"viewableGuid": "XXX",
"viewableName": "(1)",
"viewableOrder": 1,
"sourceFileName": "A1-1 DIMS FIRST FLOOR DIMENSION PLAN_V1_2019-01-10_09-54-54am.pdf"
,
"links":
"self":
"href": "XXX"
,
"relationships":
"item":
"data":
"type": "items",
"id": "XXX"
,
"links":
"related":
"href": "XXX"
,
"refs":
"links":
"self":
"href": "XXX"
,
"related":
"href": "XXX"
,
"links":
"links":
"self":
"href": "XXX"
,
"downloadFormats":
"links":
"related":
"href": "XXX"
]
'''
How can I deal with it?
autodesk-forge autodesk-bim360
According to the documentation (https://forge.autodesk.com/en/docs/data/v2/tutorials/download-file/)
I should get the storage object id from included.relationships.storage.data.id.
I can do it for all files uploaded to the bim360 except plans pdf files.
There is nothing about 'storage' in a whole response.
Here is "included" from my response:
'''
"included": [
"type": "versions",
"id": "XXX",
"attributes":
"name": "1ST FLOOR PLAN",
"displayName": "1ST FLOOR PLAN",
"createTime": "2019-01-10T09:19:16Z",
"createUserId": "3MYGKJ73V3SD",
"createUserName": "XXX",
"lastModifiedTime": "2019-01-10T09:19:19Z",
"lastModifiedUserId": "XXX",
"lastModifiedUserName": "XXX",
"versionNumber": 1,
"extension":
"type": "versions:autodesk.bim360:Document",
"version": "1.0",
"schema":
"href": "https://developer.api.autodesk.com/schema/v1/versions/versions:autodesk.bim360:Document-1.0"
,
"data":
"processState": "PROCESSING_COMPLETE",
"viewableId": "1",
"viewableGuid": "XXX",
"viewableName": "(1)",
"viewableOrder": 1,
"sourceFileName": "A1-1 DIMS FIRST FLOOR DIMENSION PLAN_V1_2019-01-10_09-54-54am.pdf"
,
"links":
"self":
"href": "XXX"
,
"relationships":
"item":
"data":
"type": "items",
"id": "XXX"
,
"links":
"related":
"href": "XXX"
,
"refs":
"links":
"self":
"href": "XXX"
,
"related":
"href": "XXX"
,
"links":
"links":
"self":
"href": "XXX"
,
"downloadFormats":
"links":
"related":
"href": "XXX"
]
'''
How can I deal with it?
autodesk-forge autodesk-bim360
autodesk-forge autodesk-bim360
asked Mar 25 at 12:25
Adam BAdam B
82 bronze badges
82 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Yes, please call GET versions/:version_id/relationships/refs instead. Since the item listed in the Plan folder is a type of items:autodesk.bim360:Document
, this type item won't have storage attribute shown in its responses of GET versions/:version_id and GET items/:item_id directly. see also here: Download a Document with Autodesk API
Thx for your reply. How can I check if given folder is 'Plan' folder? I can't see any significant difference in for example 'Project files' and 'Plans' folder details.
– Adam B
Mar 25 at 13:44
ThePlans
folder will showautodesk.bim360:Document
andautodesk.bim360:ReviewDocument
only with my experience. Please check the response from my colleague here: stackoverflow.com/a/55345704/7745569 about distinguishing betweenPlans
andProject Files
folder.
– Eason Kang
Mar 26 at 2:20
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337746%2fhow-can-i-download-plan-pdf-file-by-bim360-api-or-sdk%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, please call GET versions/:version_id/relationships/refs instead. Since the item listed in the Plan folder is a type of items:autodesk.bim360:Document
, this type item won't have storage attribute shown in its responses of GET versions/:version_id and GET items/:item_id directly. see also here: Download a Document with Autodesk API
Thx for your reply. How can I check if given folder is 'Plan' folder? I can't see any significant difference in for example 'Project files' and 'Plans' folder details.
– Adam B
Mar 25 at 13:44
ThePlans
folder will showautodesk.bim360:Document
andautodesk.bim360:ReviewDocument
only with my experience. Please check the response from my colleague here: stackoverflow.com/a/55345704/7745569 about distinguishing betweenPlans
andProject Files
folder.
– Eason Kang
Mar 26 at 2:20
add a comment |
Yes, please call GET versions/:version_id/relationships/refs instead. Since the item listed in the Plan folder is a type of items:autodesk.bim360:Document
, this type item won't have storage attribute shown in its responses of GET versions/:version_id and GET items/:item_id directly. see also here: Download a Document with Autodesk API
Thx for your reply. How can I check if given folder is 'Plan' folder? I can't see any significant difference in for example 'Project files' and 'Plans' folder details.
– Adam B
Mar 25 at 13:44
ThePlans
folder will showautodesk.bim360:Document
andautodesk.bim360:ReviewDocument
only with my experience. Please check the response from my colleague here: stackoverflow.com/a/55345704/7745569 about distinguishing betweenPlans
andProject Files
folder.
– Eason Kang
Mar 26 at 2:20
add a comment |
Yes, please call GET versions/:version_id/relationships/refs instead. Since the item listed in the Plan folder is a type of items:autodesk.bim360:Document
, this type item won't have storage attribute shown in its responses of GET versions/:version_id and GET items/:item_id directly. see also here: Download a Document with Autodesk API
Yes, please call GET versions/:version_id/relationships/refs instead. Since the item listed in the Plan folder is a type of items:autodesk.bim360:Document
, this type item won't have storage attribute shown in its responses of GET versions/:version_id and GET items/:item_id directly. see also here: Download a Document with Autodesk API
answered Mar 25 at 13:14
Eason KangEason Kang
1,9581 gold badge3 silver badges7 bronze badges
1,9581 gold badge3 silver badges7 bronze badges
Thx for your reply. How can I check if given folder is 'Plan' folder? I can't see any significant difference in for example 'Project files' and 'Plans' folder details.
– Adam B
Mar 25 at 13:44
ThePlans
folder will showautodesk.bim360:Document
andautodesk.bim360:ReviewDocument
only with my experience. Please check the response from my colleague here: stackoverflow.com/a/55345704/7745569 about distinguishing betweenPlans
andProject Files
folder.
– Eason Kang
Mar 26 at 2:20
add a comment |
Thx for your reply. How can I check if given folder is 'Plan' folder? I can't see any significant difference in for example 'Project files' and 'Plans' folder details.
– Adam B
Mar 25 at 13:44
ThePlans
folder will showautodesk.bim360:Document
andautodesk.bim360:ReviewDocument
only with my experience. Please check the response from my colleague here: stackoverflow.com/a/55345704/7745569 about distinguishing betweenPlans
andProject Files
folder.
– Eason Kang
Mar 26 at 2:20
Thx for your reply. How can I check if given folder is 'Plan' folder? I can't see any significant difference in for example 'Project files' and 'Plans' folder details.
– Adam B
Mar 25 at 13:44
Thx for your reply. How can I check if given folder is 'Plan' folder? I can't see any significant difference in for example 'Project files' and 'Plans' folder details.
– Adam B
Mar 25 at 13:44
The
Plans
folder will show autodesk.bim360:Document
and autodesk.bim360:ReviewDocument
only with my experience. Please check the response from my colleague here: stackoverflow.com/a/55345704/7745569 about distinguishing between Plans
and Project Files
folder.– Eason Kang
Mar 26 at 2:20
The
Plans
folder will show autodesk.bim360:Document
and autodesk.bim360:ReviewDocument
only with my experience. Please check the response from my colleague here: stackoverflow.com/a/55345704/7745569 about distinguishing between Plans
and Project Files
folder.– Eason Kang
Mar 26 at 2:20
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337746%2fhow-can-i-download-plan-pdf-file-by-bim360-api-or-sdk%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown