Hi I have a c++ deformer node that calls a python function using: MString res = MGlobal::executePythonCommandStringResult(cmd);
This has always been working fine with legacy viewport, but with VP2.0 it fails most of the time (not always) with the following error: # Traceback (most recent call last): # File "<maya console>", line 1, in <module> # File "mfCacheDeformExpandString.py", line 23, in mfCacheDeformExpandString # sceneName = mc.file(q=True, sn=True) # TypeError: Argument to query flag must be a boolean // I have other nodes that use similar code (to expand a templated path with user defined python function) and I'd like them to work reliably with VP 2.0 ... Any ideas ? -- 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/1c63f68e-9d09-48ec-84b4-e22b871640aa%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
