/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntegerParameter("XResolution", "xres", "Subdivision on x-axis", GH_ParamAccess.item, 100); pManager.AddIntegerParameter("YResolution", "yres", "Subdivision on y-axis", GH_ParamAccess.item, 100); pManager.AddIntegerParameter("ZResolution", "zres", "Subdivision on z-axis", GH_ParamAccess.item, 100); pManager.AddBoxParameter("Box", "B", "Box", GH_ParamAccess.item); pManager.AddBrepParameter("Obstacles", "Obs", "A list of breps represent obstacles", GH_ParamAccess.list); pManager[4].Optional = true; }