algorithmic modeling for Rhino
I am currently adding a win-foms addon to my component. It is a settings component where right-clicking the component opens a win forms that allows users to change values.
In my ShowForm() method, I am running into an error, specifically, the red line.
This is a translation I did of the VB code to C#. The original snippet is the following:
Dim param As Parameters.Param_String = DirectCast(Params.Input(0), Parameters.Param_String)
I was wondering what the C#-equivalent of Params.Input(0) is?
Tags:
Square brackets instead of round ones on Input.
Params.Input[0];
--
David Rutten
david@mcneel.com
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