algorithmic modeling for Rhino
I am writing a component where I have an input parameter of type brep, but I would like it to be optional (the user does not have to hook a brep to it) for the component to be solved:
"pManager.Register_BRepParam("Surface", "S", "Base surface");"
I do not seem to find a way to do that. Is it possible?
Tags:
Hi Rajaa,
Try adding a line of code pManager[xxx].Optional = true; where xxx is the index of the parameter in the list of inputs starting at 0 for the first.
Cheers,
Jon
Fantastic. Thanks.
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