Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

BooleanSplit in rs.Command fails

$
0
0

Hi everyone,

I am trying to run a BooleanSplit of two polysurfaces through rs.Command. However, it does not work (the output is False) and I don’t know why. The code is as followed:

cutSurfId = rs.AddCylinder(newBsPt, newHdPt, 3, False)
rs.SelectObject(plateId)
rs.Command('_-BooleanSplit _SelID '+str(cutSurfId)+' _DeleteInput=_Yes _Enter')

The boolean split works if I do it manually in Rhino by selecting the surfaces and it also works if I replace the “BooleanSplit” in the rs.Command with “BooleanDifference”. I have no idea why though.

I am using Rhino version 7.18.22124.03002. Any help would be highly appreciated.

Thanks!
Simon

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles