Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"info": {
"_postman_id": "921baa30-0741-4871-b2cb-24e20ca61783",
"name": "Automating Revit",
"name": "Execute a Revit Add-in",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "3021021"
},
Expand Down Expand Up @@ -808,6 +808,10 @@
{
"key": "Authorization",
"value": "Bearer {{dasApiToken}}"
},
{
"key": "x-ads-region",
"value": "US"
}
],
"body": {
Expand Down Expand Up @@ -885,7 +889,7 @@
{
"key": "minutesExpiration",
"value": "5",
"disabled": true
"disabled": false
}
]
}
Expand Down
Binary file modified DA4Revit/collections/revit_collections.zip
Binary file not shown.
Binary file modified DA4Revit/images/aps_portal_menu_2_postman_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/aps_portal_steps_2_postman_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task2-authenticate_successfull.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task2-environment_edit_variable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task2-environment_quick_look_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task2-preview_environment_variables.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task3-delete_forge_app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task3-environment_variables_grid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task3-successfull.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task4-appbundle_alias.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task4-appbundle_alias_set.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task4-appbundle_body.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task4-appbundle_file_dropdown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task4-appbundle_new_version_successfull.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task4-appbundle_registered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task4-appbundle_uploaded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task5-activity_alias_create_success.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task5-activity_create_success.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task5-create_activity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task5-sucessful_update_of_activity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task5-sucessful_update_of_alias.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task6-select_files_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task6-signed_downloadurl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task6-successful_upload.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task6-sucessfull_bucket_creation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DA4Revit/images/task6-upload.png
Binary file modified DA4Revit/images/task7-check_status.png
Binary file modified DA4Revit/images/task7-download_step_1.png
Binary file modified DA4Revit/images/task7-download_step_2.png
Binary file modified DA4Revit/images/task7-download_step_2b.png
Binary file modified DA4Revit/images/task7-result_url.png
4 changes: 2 additions & 2 deletions DA4Revit/instructions/before_you_begin.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Before you begin...

## 1. Import Postman Collections for the tutorial
## 1. Import Postman Collections for the walkthrough

Postman Environments are named configurations that implement variables to store values you typically use across many HTTP requests. For example, APS's Base URL is stored in the environment variable `baseUrl`. To import the environment you need for this tutorial:
Postman Environments are named configurations that implement variables to store values you typically use across many HTTP requests. For example, APS's Base URL is stored in the environment variable `baseUrl`. To import the environment you need for this walkthrough:

1. Download the following zip file from the [*collections* folder](../collections) and expand it on your local machine.

Expand Down
2 changes: 1 addition & 1 deletion DA4Revit/instructions/task-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Create an App

1. Follow the instructions on the tutorial [Create an App](https://aps.autodesk.com/en/docs/oauth/v2/tutorials/create-app/).
1. Follow the instructions on the walkthrough [Create an App](https://aps.autodesk.com/en/docs/oauth/v2/tutorials/create-app/).
When specifying **API Access**, ensure that "Design Automation API" and "Data Management API" are selected.

2. Note down the Client ID and Client Secret of the app you created.
Expand Down
2 changes: 1 addition & 1 deletion DA4Revit/instructions/task-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A Nickname lets you map a Client ID to an easy-to-use name that you can use in p

![Delete App Data](../images/task3-delete_forge_app.png "Delete app")

- If you get stuck while working on this tutorial, and are unable to proceed because your app has data, you can use **DEL Delete app** to clear all data from the app, and restart from Task 2.
- If you get stuck while working on this walkthrough, and are unable to proceed because your app has data, you can use **DEL Delete app** to clear all data from the app, and restart from Task 2.


- Nicknames must be globally unique. If the nickname is already in use, even by someone else, APS returns a `409 Conflict` error when you try to set the Nickname.
Expand Down
2 changes: 1 addition & 1 deletion DA4Revit/instructions/task-4.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Task 4 - Upload an AppBundle to Design Automation

An AppBundle is a package of binaries and supporting files that make up a Revit add-in. See the corresponding [task in the Step-by-Step tutorial on the APS developer portal](https://aps.autodesk.com/en/docs/design-automation/v3/tutorials/revit/step4-publish-appbundle/) for an explanation of AppBundles and learn how to create an AppBundle. For the purpose of this Postman tutorial, download *DeleteWallsApp.zip*, which is stored in the [*tutorial_data* folder of this repository](../tutorial_data). The file *DeleteWalls.dll* that is contained within this AppBundle runs on Revit 2024.
An AppBundle is a package of binaries and supporting files that make up a Revit add-in. See the corresponding [task in the How-to Guide on the APS developer portal](https://aps.autodesk.com/en/docs/design-automation/v3/tutorials/revit/step4-publish-appbundle/) for an explanation of AppBundles and learn how to create an AppBundle. For the purpose of this Postman walkthrough, download *DeleteWallsApp.zip*, which is stored in the [*walkthrough_data* folder of this repository](../walkthrough_data). The file *DeleteWalls.dll* that is contained within this AppBundle runs on Revit 2024.

## Register the AppBundle

Expand Down
4 changes: 2 additions & 2 deletions DA4Revit/instructions/task-6.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Task 6 - Prepare cloud storage

The DeleteWalls add-in takes a Revit file as an input and produces another Revit file as output. In this task, we prepare the cloud storage to hold these files. While you can use any cloud storage service for this purpose, this tutorial uses the Object Storage Service (OSS) through the Data Management API.
The DeleteWalls add-in takes a Revit file as an input and produces another Revit file as output. In this task, we prepare the cloud storage to hold these files. While you can use any cloud storage service for this purpose, this walkthrough uses the Object Storage Service (OSS) through the Data Management API.

There are three Postman Environment Variables you must specify for this task. They are
- `ossBucketKey` - The Bucket Key for the Bucket that holds your files in the cloud.
Expand Down Expand Up @@ -28,7 +28,7 @@ There are three Postman Environment Variables you must specify for this task. Th

## Obtain Signed URL to Upload the Input File

1. Download the input file, *DeleteWalls.rvt* from the [*tutorial_data* folder of this repository](../tutorial_data).
1. Download the input file, *DeleteWalls.rvt* from the [*walkthrough_data* folder of this repository](../walkthrough_data).

2. Click the **Environment quick look** icon on the upper right corner of Postman.

Expand Down
6 changes: 3 additions & 3 deletions DA4Revit/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Design Automation for Revit Step-by-Step Tutorial
# Execute a Revit Add-in

![Platforms](https://img.shields.io/badge/Web-Windows|MacOS-lightgray.svg)
[![oAuth2](https://img.shields.io/badge/Authentication-v2-green.svg)](http://developer.autodesk.com/)
Expand All @@ -17,7 +17,7 @@
![Beginner](https://img.shields.io/badge/Level-Beginner-green.svg)
[![License](https://img.shields.io/:license-MIT-blue.svg)](http://opensource.org/licenses/MIT)

This folder contains a Postman Collection that contains the requests used in the [Automating Revit Step-by-Step tutorial](https://aps.autodesk.com/en/docs/design-automation/v3/tutorials/revit/) on the APS developer portal.
This folder contains a Postman Collection that contains the requests used in the [Execute a Revit Add-in walkthrough](https://aps.autodesk.com/en/docs/design-automation/v3/tutorials/revit/) on the APS developer portal.

On the Postman sidebar, requests are stored in folders that have the same name as the corresponding task in the APS developer portal.
![APS developer portal menu to Postman](images/aps_portal_menu_2_postman_menu.png "APS developer portal task to Postman mapping")
Expand All @@ -26,7 +26,7 @@ Individual requests in Postman have the same names as the corresponding step in

![APS developer portal steps to Postman](images/aps_portal_steps_2_postman_menu.png "APS developer portal task to Postman mapping")

Instructions to run the Postman tutorial are as below:
Instructions to run the Postman walkthrough are as below:

- [Before you begin](instructions/before_you_begin.md)
- [Task 2 - Obtain an Access Token](instructions/task-2.md)
Expand Down