Skip to content

It shows how you can get visuals back quicker if you're only assembling existing parts

License

Notifications You must be signed in to change notification settings

adamenagy/QuickerAssemblerDA

Repository files navigation

Quicker Configurator

Based on the Design Automation tutorial sample from learnforge.autodesk.io

In order to use the "Keep workitem running (max 1 minute)" option in the sample, you need to have a Forge subscription and then reach out to forge.help@autodesk.com to get Open Network enabled for yor Forge app. See this for more info: Open Network in Preview

Description

It includes 2 modules:

  • .NET Framework plugin Inventor. See each readme for plugin details.
  • .NET Core web interface to invoke Design Automation v3 and show results. See readme for more information.

The designautomation.sln includes the bundle and the webapp. The BUILD action copy all files to the bundle folder, generate a .zip and copy to the webapp folder.

Running

Before running the project make sure that you provide the correct values for the following environment variables. You can set them either inside the project settings of forgesample or some other ways:

  1. FORGE_CLIENT_ID: the client ID of your APS app
  2. FORGE_CLIENT_SECRET: the client secret of your APS app
  3. FORGE_WEBHOOK_URL: the URL of the server where you run this app
  4. FORGE_NICKNAME: the nickname that you set for your APS app using the Design Automation's PATCH forgeapps/:id endpoint. If you have not done that, then use the same value as for FORGE_CLIENT_ID

After the first compilation of the solution the UpdateIPTParam\bin\Bundle\UpdateIPTParam.bundle\Contents folder will be created. Inside it create a folder named Shelving and copy all the files in forgesample\wwwroot\files folder into it. Then recompile the whole solution again.