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

Translate long type into a suitable Grasshopper parameter #400

Merged
merged 1 commit into from
Aug 30, 2019

Conversation

epignatelli
Copy link
Member

Issues addressed by this PR

Closes #394

Info about the problem at the related issue page.
Grasshopper was translating a long into an Param_Integer parameter, and thus failing.
It now translates into a Param_Time parameter, which stores the data as a long - it was designed to store the time as ticks (milliseconds).

Test files

Test file at #394. The test script relies on the following branches:

Changelog

  • A System.Int64 or long is now correctly parsed into a Param_Time parameter

Additional comments

@epignatelli epignatelli added the type:feature New capability or enhancement label Aug 30, 2019
@epignatelli epignatelli added this to the BHoM 2.4 β MVP milestone Aug 30, 2019
@epignatelli epignatelli requested a review from alelom August 30, 2019 09:50
@epignatelli epignatelli self-assigned this Aug 30, 2019
Copy link
Member

@alelom alelom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works! Thanks!

@epignatelli epignatelli merged commit d21fcbe into master Aug 30, 2019
@epignatelli epignatelli deleted the Grasshopper_Toolkit#394-longTypes branch August 30, 2019 10:30
@epignatelli epignatelli added type:bug Error or unexpected behaviour and removed type:feature New capability or enhancement labels Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Error or unexpected behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grasshopper_Toolkit: does not support type long
2 participants