[Maya2018] Different beaviour bewtnee script and MayaConsol

23 views
Skip to first unread message

Rémi Deletrain

unread,
Aug 23, 2018, 9:42:14 AM8/23/18
to Python Programming for Autodesk Maya
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 ?
Reply all
Reply to author
Forward
0 new messages