{"id":34963779,"url":"https://github.com/viktor-platform/sample-dynamo","last_synced_at":"2026-05-22T17:11:01.665Z","repository":{"id":132560499,"uuid":"483615350","full_name":"viktor-platform/sample-dynamo","owner":"viktor-platform","description":"Sample app showing a parametric house design with a Dynamo Sandbox integration, generating a geometry and report automatically.","archived":false,"fork":false,"pushed_at":"2024-05-29T08:19:40.000Z","size":2928,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-30T21:14:38.584Z","etag":null,"topics":["dynamo","viktor-ai"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/viktor-platform.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-20T10:51:25.000Z","updated_at":"2024-05-29T08:19:44.000Z","dependencies_parsed_at":"2024-05-29T09:43:10.587Z","dependency_job_id":"3d14654e-8000-4b48-89f3-001103ce694c","html_url":"https://github.com/viktor-platform/sample-dynamo","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/viktor-platform/sample-dynamo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktor-platform%2Fsample-dynamo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktor-platform%2Fsample-dynamo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktor-platform%2Fsample-dynamo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktor-platform%2Fsample-dynamo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viktor-platform","download_url":"https://codeload.github.com/viktor-platform/sample-dynamo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viktor-platform%2Fsample-dynamo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33356141,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"online","status_checked_at":"2026-05-22T02:00:06.671Z","response_time":265,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dynamo","viktor-ai"],"created_at":"2025-12-26T22:51:27.411Z","updated_at":"2026-05-22T17:11:01.658Z","avatar_url":"https://github.com/viktor-platform.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](https://img.shields.io/badge/SDK-v13.0.0-blue) \u003cPlease check version is the same as specified in requirements.txt\u003e\n\n# Sample application dynamo integration Viktor\n\nIn this sample application a solution is presented how to integrate a dynamo model within the Viktor platform. \nThe user provides the parameters for the dynamo model within the Viktor application. \nWith these parameters, the dynamo model is computed by the Viktor worker. This is done with the command line interface included within DynamoSandbox. \nThe geometry is created with the help of either Autodesk Revit or FormIt. The geometry JSON is then converted to mesh, which is rendered and visualized in Viktor. \n\nAn example of the application is shown in the image below.\n\n![Alt text](README_image.jpg?raw=true \"Example\")\n\n## Setting up worker\nA worker is necessary in order to run this application. Below is described how to configure the worker:\n\n1. Install the generic worker\n2. Install DynamoSandbox (http://dynamobim.org/download/)\n3. Install either Autodesk Revit or FormIt\n**Note:** *Autodesk Formit can be installed without accepting any terms and conditions / end-user license agreements. \nAfter starting the program you are asked to sign in to your autodesk account, \nhowever, you can use the geometry DLLs with DynamoSandbox without doing this.*\n\n4. Create a new file named **config.yaml** inside same folder as the worker executive. \n\nThe config file should contain the path to the DynamoSandbox executable.\n\nAdditionally, the file should contain the following arguments:\n\n- Dynamo script, -o (open)\n- Geometry file, -v (output)\n- Path to local installation of Autodesk FormIt or Revit, -gp (geometry path)\n- Json file, -g (geometry file)\n\nThe temporary dynamo script, geometry file and json file are created within the worker folder.\n\nAn example of the code for the file named  **config.yaml** is shown below:\n\n\u003cpre\u003e\u003ccode\u003eexecutables:\n  dynamo:\n    path: 'C:\\Users\\Administrator\\Documents\\$USERNAME$\\DynamoSandbox\\DynamoWPFCLI.exe'\n    arguments:\n    - '-o'\n    - 'input.dyn'\n    - '-v'\n    - 'output.xml'\n    - '-gp'\n    - 'C:\\Program Files\\Autodesk\\FormIt'  # or Revit\n    - '-g'\n    - 'geometry.json'\nmaxParallelProcesses: 1 # must be one, please do not change\n\u003c/code\u003e\u003c/pre\u003e\n\nFor more information about the Dynamo CLI is referred to: https://github.com/DynamoDS/Dynamo/wiki/Dynamo-Command-Line-Interface\n\n## Setting up dynamo model\nA few settings are required within the dynamo model in order for Viktor to recognize the input and output. Simply put the\nparameters you want to adjust in the Viktor application to \"Is Input\" by right-mouse clicking on the node. Same goes for the output\nparameters, then select \"Is Output\". The name of the node should be the same as the name called by the Dynamo module in your script.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviktor-platform%2Fsample-dynamo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviktor-platform%2Fsample-dynamo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviktor-platform%2Fsample-dynamo/lists"}