I am working with C# in RhinoCommon. I want to create a solid-like cube from 6 surfaces. I already have the surfaces coded. Now, I want to create the solid and assign it to a layer to perform further operations. I know one of the ways could be:
But this creates a bool type of object which can’t be added to any layer.
What could be the solution to this?
I am flexible with the code i.e. I can use a different way to create this solid than the RunScript method or even a different way to assign it to layers(if that is possible).
Any suggestions are appreciated.