algorithmic modeling for Rhino
I'm getting "You cannot call IGN_DataAccess.GetDataList() on an Item Parameter"
and I have DA.GetDataList, I'm going crazy.
But I have included GH_ParamAccess.list in the code below, what is going on.....
Protected Overrides Sub RegisterInputParams(ByVal pManager AsGrasshopper.Kernel.GH_Component.GH_InputParamManager)
pManager.Register_MeshParam("Mesh", "meshObject", "Mesh To Export",GH_ParamAccess.list)
End Sub
Protected Overrides Sub SolveInstance(ByVal DA As Grasshopper.Kernel.IGH_DataAccess)
Dim meshObject As New List(Of Rhino.Geometry.Mesh)
If (Not DA.GetDataList(0, meshObject)) Then Return
Tags:
I can't see anything wrong with your code and the symptom matched what I've seen in the past with this. Changing the guid would certainly force you to replace the component.
I pasted your code into this sample component that worked fine for me.
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