/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddBooleanParameter("Run", "R", "Run", GH_ParamAccess.item, true); pManager.AddTimeParameter("Time", "T", "Time", GH_ParamAccess.item); pManager.AddNumberParameter("LatitudeDegrees", "La", "LatitudeDegrees", GH_ParamAccess.item, 30.28); pManager.AddNumberParameter("LongitudeDegrees", "Lo", "LongitudeDegrees", GH_ParamAccess.item, 120.15); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTimeParameter("Time", "D", "---", GH_ParamAccess.item, DateTime.Now); pManager[0].Optional = true; pManager.AddBooleanParameter("Mode", "M", "---", GH_ParamAccess.item, false); pManager[1].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTimeParameter("DateTime", "D", "The default value of the text box", GH_ParamAccess.item, DateTime.Now); pManager[0].Optional = true; pManager.AddBooleanParameter("Long", "L", "Long", GH_ParamAccess.item, false); pManager[1].Optional = true; }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddIntegerParameter("GMT", "GMT", "Positive or negative offset for GMT timezone", GH_ParamAccess.item, 1); pManager.AddTimeParameter("Time", "Time", "Date/Time for the sun position", GH_ParamAccess.item, new DateTime(2013, 6, 1, 12, 0, 0, 0)); pManager.AddNumberParameter("Latitude", "Lat", "Latitudal coordinates for the position of inquery", GH_ParamAccess.item, 52.2066); pManager.AddNumberParameter("Longitude", "Long", "Longitudal coordinates for the position of inquery", GH_ParamAccess.item, 5.6422); pManager.AddVectorParameter("North", "Nrth", "The vector indicating the north direction", GH_ParamAccess.item, new Vector3d(0, 1, 0)); pManager.AddVectorParameter("Up", "Up", "The vector pointing to the sky", GH_ParamAccess.item, new Vector3d(0, 0, 1)); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTimeParameter("DateTime", "D", "The default value of the text box", GH_ParamAccess.item, DateTime.Now); pManager[0].Optional = true; pManager.AddIntegerParameter("Format", "F", "Format", GH_ParamAccess.item, 0); pManager[1].Optional = true; pManager.AddTextParameter("Custom Format", "C", "---", GH_ParamAccess.item, "13:45:30"); pManager[2].Optional = true; Param_Integer param = (Param_Integer)Params.Input[1]; param.AddNamedValue("Custom", 0); param.AddNamedValue("1:45 PM", 1); param.AddNamedValue("1:45:30 PM", 2); param.AddNamedValue("13:45:30", 3); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTimeParameter("DateTime", "D", "---", GH_ParamAccess.item, DateTime.Now); pManager[0].Optional = true; pManager.AddIntegerParameter("Selection Mode", "M", "---", GH_ParamAccess.item, 0); pManager[1].Optional = true; pManager.AddIntegerParameter("Calendar Mode", "C", "---", GH_ParamAccess.item, 0); pManager[2].Optional = true; Param_Integer param = (Param_Integer)Params.Input[1]; param.AddNamedValue("Single", 0); param.AddNamedValue("Multiple", 1); param = (Param_Integer)Params.Input[2]; param.AddNamedValue("Month", 0); param.AddNamedValue("Year", 1); param.AddNamedValue("Decade", 2); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTimeParameter("DateTime", "D", "The default value of the text box", GH_ParamAccess.item, DateTime.Now); pManager[0].Optional = true; pManager.AddIntegerParameter("Format", "F", "Format", GH_ParamAccess.item, 0); pManager[1].Optional = true; pManager.AddTextParameter("Custom Format", "C", "---", GH_ParamAccess.item, "dddd, MMMM dd, yyyy ( hh:mm:ss tt )"); pManager[2].Optional = true; Param_Integer param = (Param_Integer)Params.Input[1]; param.AddNamedValue("Custom", 0); param.AddNamedValue("Monday, June 15, 2009 (01:00:00 PM)", 1); param.AddNamedValue("06/15/2009, 01:00:00 PM", 2); param.AddNamedValue("2009-06-15, 13:00:00", 3); param.AddNamedValue("Monday, June 15, 2009", 4); param.AddNamedValue("06/15/2009", 5); param.AddNamedValue("2009-06-15", 6); param.AddNamedValue("1:45 PM", 7); param.AddNamedValue("1:45:30 PM", 8); param.AddNamedValue("13:45:30", 9); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddTimeParameter("Date", "d", "Reference Date for range", GH_ParamAccess.item, DateTime.Now.Date); pManager.AddIntegerParameter("Days", "n", "Number of days in range", GH_ParamAccess.item, -30); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) { pManager.AddGenericParameter("Issues", "i", "YouTrack Issues", GH_ParamAccess.list); pManager.AddTimeParameter("Timestamp", "t", "Issues as of this date", GH_ParamAccess.list); }