algorithmic modeling for Rhino
Hi,
I have a component that (also) has a Guid input parameter and a Geometry input parameter, either one of them must be used.
But if I leave one of them not linked, a warning pops up and stops the calculation.
Is there a way to set these input parameters as optional ?
Thanks
Tags:
Inside RegisterInputParams
pManager[0].Optional = true;
You can set the Optional flag of any input parameter to true or false whenever you want, as long as it's not during a solution.
--
David Rutten
david@mcneel.com
Tirol, Austria
Thank you, David !
Cheers
emilio
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by