I’ll updated my GH plugin from Rhino 5 to Rhino 6. Now, when I try to load GH with my plugin, I’ll get MissingMethodException for AddVectorParameter(). All other function AddxxxParameter are found, so I assume that the references to the GH_IO.dll and Grasshopper.dll are okay.
I call it e.g. as follows:
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
pManager.AddIntegerParameter(“LC”, “LC”, “LC”, GH_ParamAccess.item, 0);
pManager.AddVectorParameter(“Direction”, “D”, “Direction”,
GH_ParamAccess.item, new Vector3d(0, 0, -1));
Does anyone have an idea what the problem could be? Am I missing something?