Error: Problem with the API object returned by __apiobject__ method

Error: Problem with the API object returned by __apiobject__ method

blastframe
Enthusiast Enthusiast
1,436 Views
1 Reply
Message 1 of 2

Error: Problem with the API object returned by __apiobject__ method

blastframe
Enthusiast
Enthusiast

Hello,
I'm using the Sets command in my script to select vertices via the operations union, subtract, and intersect. Every time I run the script, it selects the correct vertices, but throws this error:

Error: Problem with the API object returned by __apiobject__ method


I wasn't able to find any more information about the error. Does anyone have a guess what might be happening and how I might fix it?

 

Thank you! Smiley Happy

0 Likes
1,437 Views
1 Reply
Reply (1)
Message 2 of 2

rdebrieD6ZX2
Explorer
Explorer

Hi ! Had the same problem and couldnt figure it out for a while, turns out  it happens when you mix cmds and pymel in some operations, so just stick with pymel only and it should be good

0 Likes