BHoM / BHoM/Grasshopper_UI

Grasshopper_Toolkit: PopulateWithEnum on inputs

Open
#338 0 comments 3 reactions 1 assignee Assigned to @epignatelli View on GitHub
type:feature
Dominant language
C#
Stars
18
Forks
5
PR merge metrics
No merged PRs in 30d

Description

When an input requires an `Enum`, it could be nice to have the Grasshopper right-click context menu showing the enum values as a clickable list. That's easily doable via the `pManager[i].PopulateWithEnum` method.

This could be used as an alternative to the current method of creating the Enum with a separate component.

![image](https://user-images.githubusercontent.com/6352844/54935684-b4a48100-4f18-11e9-8aad-e1302bbfbf81.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.