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

Checking for rhinoscript BooleanUnion failure returning an all-zero GUID

$
0
0

@S_L wrote:

I have a python script that calls rs.BooleanUnion. In some cases the union appears to fail but it returns an all-zero GUID 00000000-0000-0000-0000-000000000000 instead of None.
How can I check if the System.Guid object is an all-zero GUID so I can handle the error in my code? The resulting variable type is System.Guid so i can’t do the usual handling like so:

if not boolean_result: dosomething

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5877

Trending Articles