algorithmic modeling for Rhino
Dear all
I need to hide an specific output from my node. (some times will be useful show the points some times don´t).
I tried the method HideParameter() into the ResgisterOutputParams method, but no success:
protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
{
pManager.HideParameter(0);
pManager.AddPointParameter("points", "points", "The points on lámier curve", GH_ParamAccess.list);
}
I would like to control the points visualization from a boolean input.
any clue will be greate.
thanks in advance
c.
Tags:
You can only hide the parameter after you make it. Thus:
pManager.HideParameter(0);
pManager.AddPointParameter("points", "points", "The points on lámier curve", GH_ParamAccess.list);
should be:
pManager.AddPointParameter("points", "points", "The points on lámier curve", GH_ParamAccess.list);
pManager.HideParameter(0);
--
David Rutten
david@mcneel.com
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by