First post on this forum.
My questions is the following.
I want to retrieve a result set by calling listAttr on a polySurface.
When I perform this command listAttr polySurface1.f in MEL I see a result set in the script logger.
When executing the same command via C++ & the MGlobal::executeCommand() function
MGlobal::executeCommand( "listAttr polySurface1.f", resultSet, true, true);
The script logger shows an error with the following message. Error: No object matches name: polySurface1.f
does anyone have an idea why this error gets triggered. As I have already mentioned when called from MEL script editor the command works flawlessly.
Thanks in advance.