algorithmic modeling for Rhino
Hi,
I'm trying to move a 3d point with a 3d vector that are both input of my vb component.
bellow the code that i copy from david rutten here http://www.grasshopper3d.com/forum/topics/translate-curves-with-vb
Private Sub RunScript(ByVal x As Point3d, ByVal y As Vector3d, ByRef A As Object)
A = x.Transform(Transform.Translation(y))
End Sub
but i only get an error BC30491 "this expression doesn't produce any value"
Do you have any sugestions?
Thanks in advance.
Tags:
Replies are closed for this discussion.
x.Transform(Transform.Translation(y))
A = x
The Transform method on points does not return a new point (I agree it should!), but instead modifies the existing point.
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
© 2024 Created by Scott Davidson. Powered by