Ummm
Dumb question guys,
in the documentation it says the position flag is queryable for the spaceLocator() function in maya.cmds
I’m trying this:
print(mc.spaceLocator(a=True, n=sla, p=True, q=True))
variable sla is just a locator that exists in the scene
but I get the error:
TypeError: Flag ‘n’ must be passed a boolean argument when query flag is set #
I don’t get it, do I basically have to use getAttr every time? (or get point position?)
Sorry Im new to cmds and getting a hang of the query flag.
I know its kind of a dumb question ha.