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
selection_case
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
else:
# 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/d77c44e7-1715-4241-abd0-8b665396fb35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.