algorithmic modeling for Rhino
Hi,
I am using a vb component to read out the guid-name.
Everytime I reopen the file I have to exchange the component with a new one ffrom the panel. Is there a way to avoid this? (Destroy cache, doesn´t work)
using this:
Private Sub RunScript(ByVal id As Guid, ByRef name As Object)
Dim obj As Rhino.DocObjects.RhinoObject = doc.Objects.Find(id)
If (obj Is Nothing) Then
name = "not found"
Else
name = obj.Attributes.Name
End If
End Sub
Thanks,
Phillip
Tags:
Does reconnecting the input trigger it to work properly?
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