本文整理汇总了C#中GH_Component.Register_GenericParam方法的典型用法代码示例。如果您正苦于以下问题:C# GH_Component.Register_GenericParam方法的具体用法?C# GH_Component.Register_GenericParam怎么用?C# GH_Component.Register_GenericParam使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GH_Component
的用法示例。
在下文中一共展示了GH_Component.Register_GenericParam方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RegisterOutputParams
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
{
pManager.Register_GenericParam("Feedback", "F", "Feedback Output. Here you get a copy of the data at the \"*D\" input, or the \"*S\" input if the first is empty.");
pManager.Register_GenericParam("Feedback History", "H", "History Output. Here you get the history of all Hoopsnake iterations.");
pManager.Register_IntegerParam("Loops Counter", "L", "Loops Counter.");
pManager.Register_IntegerParam("Iterations Counter", "I", "Iterations Counter.");
}
示例2: RegisterInputParams
//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);
}
示例3: RegisterInputParams
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);
}
示例4: RegisterOutputParams
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
{
pManager.Register_StringParam("output", "out", "error messages from the system");
pManager.Register_PlaneParam("Proxies", "P", "the planes for the proxies");
pManager.Register_CurveParam("MeshAsCurves", "MC", "the connectivity mesh as a set of curves");
pManager.Register_GenericParam("HLwingMesh", "WM", "the winged mesh to put into the next function");
pManager.Register_VectorParam("Normals", "N", "the normals for each face");
pManager.Register_PointParam("Centres", "C", "the centres for each face");
pManager.Register_CurveParam("VoronoiOnMesh", "VOM", "non planar voronoi from clusters");
}
示例5: RegisterInputParams
//public override Guid ComponentGuid { get { return new Guid("{D17343E8-0BD8-4F32-9DF7-B516D52EC585}"); } }
/// <summary>
/// Registers all the input parameters for this component.
/// </summary>
protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager)
{
pManager.Register_GenericParam("Key", "K", "Keys to check.", GH_ParamAccess.list);
pManager.Register_GenericParam("Func", "F", "Function to Input", GH_ParamAccess.item);
}
示例6: RegisterOutputParams
/// <summary>
/// Registers all the output parameters for this component.
/// </summary>
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
{
pManager.Register_StringParam("Console", "...", "Messages from Python", GH_ParamAccess.tree);
//pManager.Register_BooleanParam("Contains", "B", "Contains Key.", GH_ParamAccess.item);
pManager.Register_GenericParam("Keys", "KS", "Keys in Picnic", GH_ParamAccess.list);
pManager.Register_GenericParam("Out", "O", "jhfjgs", GH_ParamAccess.item);
pManager.Register_StringParam("S", "S", "S", GH_ParamAccess.item);
}
示例7: RegisterOutputParams
/// <summary>
/// Registers all the output parameters for this component.
/// </summary>
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
{
pManager.Register_GenericParam("Emitter", "E", "agents emitter", GH_ParamAccess.item);
}
示例8: RegisterOutputParams
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
{
pManager.Register_GenericParam("Constant Strain Triangle", "T", "Triangle output");
}
示例9: RegisterInputParams
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);
}
示例10: RegisterOutputParams
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
{
pManager.Register_StringParam("Key", "K", "A string key");
pManager.Register_GenericParam("Value", "V", "A value key");
}