Hi all,

I would like to ask for opinion where I am using Boolean to test my 
'selection' case.
In the following code, the boolean term for this scenario is called 
I am sure that there is a term for such scenarios but I am not sure what it 
is called

In anyways, can someone kindly help take a look at my code and advise if I 
am on the right track? Is defining selection_case as None the right choice?

def test():
    selection_case = None
    # If the selection type is the apkgStack
    if sel_custom:
        selection_case = True
    if sel_org:
        selection_case = False

    while not check:
        if selection_case:
            # perform this set of stuff
            # perform the other set of stuff

You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to