Skip to content

HowTo: Loading icons(example Operator)

aosyatnik edited this page Sep 26, 2014 · 1 revision

Consider the example of loading icon for &&(and).

  1. Go to src\Resources\

  2. Find folder with your Project (if it's not presented create it).

Note: Operators are generating directly in Dynamo. So, that's why, they don't have their own project. In this case we use by default DynamoCore.

image

  1. Go to folder SmallIcons

  2. Rename icon like FunctionDescriptor.Name.Small.png (e.g. and.Small.png)

  3. Add to git like: $ git add C:/../Dynamo/scr/Resources/*.png

  4. Open Project DynamoIcons.

  5. Choose appropriate file of resources and open it.

image

  1. Drag and drop your image here.

image

  1. Got to properties and change Persistence from "Linked at compile time" to "Embedded in .resx".

  2. Delete Resource folder.

  3. Rebuild DynamoIcons.

  4. Run Dynamo.