Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Element Parameter casting issue with enums #613

Closed
jbf1212 opened this issue Jun 22, 2022 · 1 comment
Closed

Set Element Parameter casting issue with enums #613

jbf1212 opened this issue Jun 22, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@jbf1212
Copy link

jbf1212 commented Jun 22, 2022

Versions

Rhino.Inside: 1.6.8.8159.20547
Rhino: 7.19.22165.13001
Revit: 2022.1

Describe the bug
When attempting to set parameters using the 'Element Parameter' component and the expected value is an enum, Grasshopper seems to be requiring to cast the value input to an Integer type prior to input. For some reason using Integer sliders or typing an integer into a panel no longer works (it used to be fine in older version of RiR).

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to set a parameter requiring an enum input using an integer slider or typing into a panel.
  2. See error

Expected behavior
Would expect tool to be able to cast from an integer slider (I'm not sure why this integer is different than the converted version).

Screenshots
Would expect this to work:
image

Need to do this in order to work:
image

@jbf1212 jbf1212 added the bug Something isn't working label Jun 22, 2022
@kike-garbo
Copy link
Member

Fixed in v1.8.8215.8714

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants