-
-
Notifications
You must be signed in to change notification settings - Fork 341
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
forms.ask_for_number_slider ignores min and max values #1720
Comments
@mawdesign please see the PR i just submitted for resolution of this issue. You should be able to make the change to your installation until a new installer is released. |
Added additional configuration options for numberSlider per issue #1720
📦 New work-in-progress (wip) builds are available for 4.8.13.23083+1548-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23083+1609-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23092+1345-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23093+1230-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23096+0757-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23096+0908-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23096+0944-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23096+2210-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23097+1931-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23104+0950-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23108+1109-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23110+0800-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23111+0822-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23114+0751-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23114+0900-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23117+1019-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23122+0740-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23126+1635-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23131+1009-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23137+0756-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23137+0809-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23139+0632-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23144+0857-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23144+0943-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23144+0957-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23144+1030-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23161+1332-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23163+0849-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23163+0858-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23163+0910-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23163+0908-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23163+1046-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23163+1150-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23163+1153-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23164+0946-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23165+1014-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23166+0843-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23170+0833-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23170+1018-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23170+1041-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23177+1038-wip |
📦 New work-in-progress (wip) builds are available for 4.8.13.23181+1652-wip |
📦 New public release are available for 4.8.13.23182+2215 |
My code below opens a slider with the correct default value but the min remains at 0 and the max remains at the default of 100, the minimum should be 1 and the maximum should be 400 - I definitely need to be able to get values greater than 100 returned.
I did find that setting default width to 75 failed as the default is only applied if the value is a float, not an integer. If it would accept an integer as well that would be great.
Using Revit 2021.1.7, and pyRevit 4.8.12
References:
https://pyrevit.readthedocs.io/en/latest/pyrevit/forms.html#pyrevit.forms.ask_for_number_slider
https://github.com/eirannejad/pyRevit/blob/master/pyrevitlib/pyrevit/forms/__init__.py#L1231
The text was updated successfully, but these errors were encountered: