/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager inputParamManager) { RhinoInside.Revit.GH.Parameters.SpatialElement spatialElement = new RhinoInside.Revit.GH.Parameters.SpatialElement() { Optional = true }; inputParamManager.AddParameter(spatialElement, "spaces_", "_space_", "Revit Spaces", GH_ParamAccess.list); inputParamManager.AddNumberParameter("_offset_", "_offset_", "Offset from bottom of space", GH_ParamAccess.item, 0.1); inputParamManager.AddNumberParameter("_snapTolerance_", "_snapTolerance_", "Snap Tolerance", GH_ParamAccess.item, Core.Tolerance.MacroDistance); inputParamManager.AddNumberParameter("_tolerance_", "_tolerance_", "Tolerance", GH_ParamAccess.item, Core.Tolerance.Distance); inputParamManager.AddBooleanParameter("_run", "_run", "Run", GH_ParamAccess.item, false); }
/// <summary> /// Registers all the input parameters for this component. /// </summary> protected override void RegisterInputParams(GH_InputParamManager inputParamManager) { RhinoInside.Revit.GH.Parameters.SpatialElement spatialElement = new RhinoInside.Revit.GH.Parameters.SpatialElement(); inputParamManager.AddParameter(spatialElement, "_space", "_space", "Revit Space or Wall", GH_ParamAccess.item); RhinoInside.Revit.GH.Parameters.Level level = null; level = new RhinoInside.Revit.GH.Parameters.Level(); level.Optional = true; inputParamManager.AddParameter(level, "level_Lower_", "level_Lower_", "Revit Lower Level", GH_ParamAccess.item); level = new RhinoInside.Revit.GH.Parameters.Level(); level.Optional = true; inputParamManager.AddParameter(level, "level_Upper_", "level_Upper_", "Revit Upper Level", GH_ParamAccess.item); inputParamManager.AddBooleanParameter("_run", "_run", "Run", GH_ParamAccess.item, false); }