algorithmic modeling for Rhino
Hi,
I made my own parameter to exchange some specific data between my components. Everything worked fine. I just want to tune it up and set up the name previewed by hoovering the output or plugin it in panel. Now it is using "nemespace.className" as name, but i would like to have something more readable. What should I implement?
Thanks
Tags:
You should override TypeName, TypeDescription and ToString on your data class:
Public Overrides Function ToString() As String
'Return whatever data you want to see to identify the graph.'Points return rounded coordinates, curves return some
'details about the topology, integers return a completely
'lossless string representation of themselves.
End FunctionPublic Overrides ReadOnly Property TypeName() As String
Get
Return "Graph"
End Get
End Property
Public Overrides ReadOnly Property TypeDescription() As String
Get
Return "A graph for doing something or other"
End Get
End Property
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Works perfect! Thank you for quick response.
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