using Grasshopper.Kernel;
using System;
using System.Collections.Generic;
using System.Runtime.Versioning;
namespace FeMM.Grasshopper.Components.MeCheck2
{
#if NETCOREAPP
[SupportedOSPlatform("windows")]
#endif
public class PrintCheckImageMeCheckForceComponentV2 : PrintCheckImageMeCheckForceComponentBase
{
public PrintCheckImageMeCheckForceComponentV2()
: base()
{
}
public override GH_Exposure Exposure => GH_Exposure.tertiary;
/// <summary>
/// Gets the unique ID for this component. Do not change this ID after release.
/// </summary>
public override Guid ComponentGuid => new("2a1025c8-7453-4617-b8ad-dc4fc5c45734");
protected override void GetInputMarks(IGH_DataAccess DA, ref int nnn, ref bool showMarks, List<double> customMarks)
{
DA.GetData(nnn++, ref showMarks);
DA.GetDataList(nnn++, customMarks);
}
protected override void RegisterInputMarks(GH_InputParamManager pManager)
{
pManager.AddBooleanParameter("Show Marks", "SM", "If true, show vertical marks and x-axis ticks/labels", GH_ParamAccess.item, true);
pManager.AddNumberParameter("Mark Positions", "MP", "Optional list of X positions (in model units) where marks should appear", GH_ParamAccess.list);
pManager[pManager.ParamCount - 1].Optional = true;
}
}
}