DynamoSamples
DynamoSamples copied to clipboard
A collection of samples demonstrating how to develop libraries for Dynamo.

Dynamo Samples
A collection of samples demonstrating how to develop libraries for Dynamo.
These samples make use of the Dynamo NuGet packages. NuGet should take care of restoring these packages if they are not available on your system at build time.
Building the Samples
Requirements
- Visual Studio 2022
- .NET8
Instructions
- Clone the repository.
- Choose a branch:
- The master branch of Dynamo Samples corresponds to the master branch of Dynamo. To build against a specific version, choose that version's branch or tag. i.e. 0.8.0, 0.9.0, etc.
- Open
DynamoSamples.slnwith Visual Studio. - Build using the
Debug/Any CPUconfiguration. - The
dynamo_packagefolder at the root of the repository will now have the built libraries. TheDynamo Samplesfolder in that directory can be copied directly to your Dynamo packages directory:C:\Users\<you>\AppData\Roaming\Dynamo Core\<version>\packages. - To install the sample view extension the
SampleViewExtension\bin\debugfolder (or release) should containSampleViewExtension.dllwhich should be copied to your root Dynamo build locationSampleViewExtension_ViewExtensionDefinitionwhich should be copied to theviewExtensionsfolder inside your root Dynamo build location
- Run Dynamo. You should find
SampleLibraryUIandSampleLibraryZeroTouchcategories in your library and theViewtab inside of Dynamo should now containShow View Extension Sample Window.