@603419608 wrote:
Hello everyone
Like this kind of situation.
I want to join four surface,If use BrepJoin Components or Rhinocommon will return One open brep and two Untrimmed Surface.But I use rs. JoinSurfaces () function will return null.
Because JoinSurfaces function only returns a polysurface object,
So I hope:
Put this code
(if joinedbreps is None or len (joinedbreps)! = 1: Return scriptcontext. Errorhandler () Rc = scriptcontext. Doc. Objects. AddBrep (joinedbreps [0]))
Modified to
( If joinedbreps is None: Return scriptcontext. Errorhandler () Rc = [scriptcontext. Doc. Objects. AddBrep (joinedbreps [I]) for I in xrange (len (joinedbreps)] )
This file
JoinSurface_Advice.gh (10.3 KB)Thanks
——Naruto
Posts: 8
Participants: 3