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

Decoding binary bitmasks (bitflags)

$
0
0

@Helvetosaur wrote:

Is there any function or an easy way to "reverse-engineer" a bitmask such as used in Rhino's object types?

For example take the number 60 and decode it into 4+8+16+32?

Thanks, --Mitch

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5823

Trending Articles