algorithmic modeling for Rhino
Apologies in advance, I am new to VB.net or any scripting
for that matter but will keep trying and hope you can help.
Having completed numerous online tutorials, which will be handy
when our company expands into online dating with it's
various forms, but for now we're keeping it simple with bridges
and I just want to do some basics in RhinoCommon.
From the SDK I expected the following to work(ish)
Private Sub RunScript(ByVal x As Double, ByVal y As Double, ByVal z As Double, ByRef A As Object)
Dim sunny As New light
sunny = Rhino.Geometry.Light.createsunlight(x, y, z)
A = Sunny
End Sub
but no joy. "createsunlight is not a member of Rhino.Geometry.Light"
Why is the createsunlight a method btw?
Any help appreciated
Tags:
Hi Thomas,
CreateSunLight is a Rhino5 method only, it does not exist when running Grasshopper on Rhino4.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
? But I thought I did this in Rhino 5.
(OMG, is this the dream when I realise I have no underwear on at the school prom)
...... okay just checked I'm running rhino 5 with GH
Ok.. er... I'm lost then. The method is greyed out when compiling for Rhino4 and it becomes active when compiling for Rhino5. I don't know why it's not showing up.
I just tested in my (fairly old) Rhino5 install and the method is definitely there, although it seems to be throwing memory corruption exception <shiver>. I'm going to have to pass this off to either Steve or Andy, maybe they'll be able to shed some light (ha ha) on this.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
ps. It's ok if you're not wearing underwear, provided you're wearing everything else isn't it?
--
David Rutten
david@mcneel.com
Poprad, Slovakia
I see what is going on. There is a bug in the CreateSunLight functions which I am fixin' right now. This should be fixed in next week's beta.
Thanks,
-Steve
....andar a lo gringo in Chlle apparently.
Thanks chaps.
Always very impressed with the efforts you make to reply to everyone and it meant I could stop looking forlornly at my screen.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by