{"id":22869886,"url":"https://github.com/autodesk-platform-services/revit-parameters-export-addin","last_synced_at":"2025-05-05T22:10:10.859Z","repository":{"id":186800660,"uuid":"675679405","full_name":"autodesk-platform-services/revit-parameters-export-addin","owner":"autodesk-platform-services","description":"This sample demonstrates displaying the parameters from ACC account and adding them into Revit project.","archived":false,"fork":false,"pushed_at":"2024-11-04T13:06:45.000Z","size":1637,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-05T22:10:03.378Z","etag":null,"topics":["autodesk-platform-services","parameters","revit","revit-addin","revit-api"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/autodesk-platform-services.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-08-07T13:26:26.000Z","updated_at":"2025-01-05T19:20:36.000Z","dependencies_parsed_at":"2023-12-22T22:23:57.480Z","dependency_job_id":"fab190ae-e688-4b80-84b4-804ce6c59c7e","html_url":"https://github.com/autodesk-platform-services/revit-parameters-export-addin","commit_stats":null,"previous_names":["moturi07/revit-parameters-api-addin","moturigeorge/revit-parameters-api-addin","autodesk-platform-services/revit-parameters-export-addin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Frevit-parameters-export-addin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Frevit-parameters-export-addin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Frevit-parameters-export-addin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autodesk-platform-services%2Frevit-parameters-export-addin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autodesk-platform-services","download_url":"https://codeload.github.com/autodesk-platform-services/revit-parameters-export-addin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252584329,"owners_count":21771945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autodesk-platform-services","parameters","revit","revit-addin","revit-api"],"created_at":"2024-12-13T13:12:31.049Z","updated_at":"2025-05-05T22:10:10.827Z","avatar_url":"https://github.com/autodesk-platform-services.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Revit Parameters Import\n\n![platforms](https://img.shields.io/badge/platform-windows-lightgray.svg)\n[![Visual Studio Community 2022](https://img.shields.io/badge/Visual%20Studio-2022-green.svg)](https://visualstudio.microsoft.com/vs/community/)\n![.NET](https://img.shields.io/badge/.NET-8.0-blue.svg)\n[![Revit 2025](https://img.shields.io/badge/Revit-2025-lightgrey.svg)](http://autodesk.com/revit)\n\n[![OAuth2](https://img.shields.io/badge/OAuth2-v2-green.svg)](http://developer.autodesk.com/)\n[![.Parameters Service](https://img.shields.io/badge/Parameters%20-v1-green.svg)](https://aps.autodesk.com/en/docs/parameters/v1/overview/introduction/)\n\n\n![Advanced](https://img.shields.io/badge/Level-Advanced-red.svg)\n[![MIT](https://img.shields.io/badge/License-MIT-blue.svg)](http://opensource.org/licenses/MIT)\n\n\n# Description\n\nThis sample demonstrates the following features:\n- List parameters from ACC Account using [Parameters API](https://aps.autodesk.com/en/docs/parameters/v1/overview/introduction/)\n- Add selected parameters from ACC Account to Revit project using [Revit API](https://help.autodesk.com/view/RVT/2025/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Basic_Interaction_with_Revit_Elements_Parameters_Shared_Parameters_html)\n\n\n# Thumbnail\n\n![thumbnail](Resources/parameters_thumbail.png)\n\n\n# Demonstration\n\n- Start Revit, Open a Revit project, goto `ACC Parameters` tab and click `ACC Parameters` button, or goto `Add-Ins` tab \u003e `External Tools` \u003e select the command `Command RevitParametersAddin`, login with your Autodesk credential\n- The `Parameters View Mananger` dialog pops up\n- Select ACC Hub, select collection, all the Revit compatible parameters will be listed\n- Select the parameters, click `download parameter` button\n- Goto `Manage` Tab, and click `Project Parameters` button\n- The new parameters are added to the project parameters list\n\nFor details, please watch the following video:\n\n- [![https://www.youtube.com/watch?v=j6oEB_lrv9w](Resources/video-thumbnail.png)](https://www.youtube.com/watch?v=j6oEB_lrv9w \"Revit Addin with Parameters API\")\n\n# Setup\n\n## Prerequisites\n\n- [APS credentials](https://forge.autodesk.com/en/docs/oauth/v2/tutorials/create-app)\n- [Visual Studio Community 2022](https://visualstudio.microsoft.com/vs/community/) or [.NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)\n- Terminal (for example, [Windows Command Prompt](https://en.wikipedia.org/wiki/Cmd.exe) \nor [macOS Terminal](https://support.apple.com/guide/terminal/welcome/mac)) if you don't have Visual Studio\n\n## Running locally\n\nIf you have Visual Studio Community 2022 installed\n\n- Clone this repository\n- Build and run the project\n\nIf you do not have it installed\n\n- Clone this repository\n- Install dependencies: `dotnet restore`\n- Setup environment variables in the appsettings.json File:\n  - `ClientId` - your APS application client ID\n  - `ClientSecret` - your APS application client secret\n- Run the project: `dotnet run`\n\nCurrently the addin uses `http://localhost:3000/api/aps/callback/oauth` as the callback. This callback should also be added at your application Callback URL in the General Settings section of your [APS Application](https://aps.autodesk.com/myapps/). The port can be changed to whatever port you wish by adding an environment variable \"PORT\".\n\nFollow the `Demonstration` section above to play with addin.\n\n# Further Reading\n\n## Tips \u0026 Tricks\n\n- If you run the application and encounter an exception saying assembly `Autodesk.Forge` cannot be loaded, you can solve this by copying the assembly (together with dependencies) to the roaming folder of your Revit plugin.\n\n- Before running the plugin, we need be able to communicate with 3 legged token callback over HTTP and HTTPS. At a minimum, you want to configure a URL registration and add a Firewall exception for the URL your service will be using. You can configure these settings with the Netsh.exe tool as follows:\n```powershell\nnetsh http add urlacl url=http://+:3000/api/aps/callback/oauth/ user=DOMAIN\\user\n```\n- Please refer to [Configuring HTTP and HTTPS](https://docs.microsoft.com/en-us/dotnet/framework/wcf/feature-details/configuring-http-and-https?redirectedfrom=MSDN) for details.\n\n## Troubleshooting\n\n- Access denied: If you get access denied error when running the addin authentication, please run Visual Studio in Administrator mode to get 3 legged authentication working\n\n\n## Documentation\n\nFor more information, see the documentation:\n\n- [Parameters API Documentation](https://aps.autodesk.com/autodesk-parameters-api-cover-page)\n- [Revit API: Shared Parameters](https://help.autodesk.com/view/RVT/2025/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Basic_Interaction_with_Revit_Elements_Parameters_Shared_Parameters_html)\n\n# License\n\nThis sample is licensed under the terms of the [MIT License](http://opensource.org/licenses/MIT). Please see the [LICENSE](LICENSE) file for full details.\n\n# Written by\n\n[Moturi Magati George](https://www.linkedin.com/in/moturigeorge/), [Autodesk Partner Development](http://aps.autodesk.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk-platform-services%2Frevit-parameters-export-addin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautodesk-platform-services%2Frevit-parameters-export-addin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk-platform-services%2Frevit-parameters-export-addin/lists"}