algorithmic modeling for Rhino
Hi,
I need to get the content of Panel objects, which are feeded by another components :
...
Dim panel As Special.GH_Panel = TryCast(objectInGroup, Special.GH_Panel)
If panel IsNot Nothing Then
...
End If
In this code "panel.UserText" returns "Double click to edit panel content..."
Is it possible to evaluate the panel, or something like that, in order to get the actual content ?
Thank you for reading,
JLH
Tags:
Try getting access to the panel's "VolatileData" - this will come out as a GH_Structure so you may need to extract "AllData" from that in order to get the list of input values themselves.
Thank you, it works fine !
For Each ghString As GH_String In panel.VolatileData.AllData(True)
Rhino.RhinoApp.WriteLine("ghString = " & ghString.ToString())
Next
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