protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.Register_GenericParam("Starting Data", "S", "Starting Data. This will be output just once before any looping is performed."); P = new HSDataParam(this, (GH_Param <IGH_Goo>)Params.Input[0]); B = new HSBoolParam(this); T = new HSTriggerParam(this); pManager.RegisterParam(P); pManager.RegisterParam(B); pManager.RegisterParam(T); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { if (CodeInputVisible) { pManager.RegisterParam(ConstructCodeInputParameter()); } AddDefaultInput(pManager); }
//protected override Bitmap Icon { get { return Ants.Properties.Resources.Ants_Icons_ant_world; } } protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.RegisterParam(new GHParam_SpatialGraph(), "Spatial Graph", "S", "The Spatial Graph.", GH_ParamAccess.item); pManager.Register_StringParam("Script", "Func", "The function to execute", GH_ParamAccess.item); pManager.Register_GenericParam("Value", "V", "Initial Values", GH_ParamAccess.list); pManager.Register_IntegerParam("Generations", "G", "Number of Generations to create.", 0, GH_ParamAccess.item); pManager.Register_GenericParam("Dict", "D", "Dictionary", GH_ParamAccess.item); pManager.Register_StringParam("Key", "K", "Key", GH_ParamAccess.item); }
protected override void AddDefaultInput(GH_Component.GH_InputParamManager pManager) { pManager.RegisterParam(CreateParameter(GH_ParameterSide.Input, pManager.ParamCount)); }
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.Register_GenericParam("Geometry", "geom", "The geometry to bake", GH_ParamAccess.tree); pManager.RegisterParam(new GHParam_Decodes_Attributes(), "Properties", "props", "The properties to apply to the geometry when baking. See the help file for documentation", GH_ParamAccess.tree); }