-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error in volume formatting #3
Comments
What model unit settings did you have? |
Doesn't seem to matter, same result using mm and inches. I'm feeding it: Volume.new( Float ).to_s |
Hmm... I see the error now - it's due to a change in SU2014. In versions prior to SU2014 |
Fixed in efd99a2 |
Aha, |
Great, thanks! |
hmm... maybe SketchUp would change at some point and return non-integer number... might be worth adding accounting for possible comma or period... |
Line 619: current_unit = Sketchup.format_area(0).match(/^0 (\S+) /)[1]
gives me an error: "Error: #<NoMethodError: undefined method `[]' for nil:NilClass>"
This seems to work for me:
current_unit = Sketchup.format_area(0)[2...-1]
Thanks for the great libraries btw!
The text was updated successfully, but these errors were encountered: