Discussion:
[Maya-Python] [Maya2018] Different beaviour bewtnee script and MayaConsol
Rémi Deletrain
2018-08-23 13:42:14 UTC
Permalink
I everyone,

I use *referenceQuery* maya command in script and I have this error:

# Traceback (most recent call last):
# Blablabla
# ...
# Blablabla
# ...
# File "blablabla\blabla.py", line 870, in lock_nodes
# if (cmds.referenceQuery(s_transform, isNodeReferenced=True) or
# TypeError: Flag 'isNodeReferenced' must be passed a boolean argument //

But if a run this command on maya consol I don't have this error...

I work with Maya 2018.3. I try with 2018.4 too

Anyone have this probleme ?
--
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/bfc67d92-39e5-4f70-a3c8-6e6b76d059fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...