Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Softimage® / XSI SDK / 'cannot be added to the group' C++, XSI 6.5
  RSS 2.0 ATOM  

'cannot be added to the group' C++, XSI 6.5
Rate this thread
 
30148
 
Permlink of this thread  
avatar
  • mslaf
  • Posted: 19 December 2008 02:40 AM
  • Total Posts: 71
  • Joined: 10 December 2008 05:47 AM

I’m trying to add an object reference to a layer using the Layer::AddMember method.

The method returns: ‘WARNING : 3051 - The object “MapMeshInstances.Instance2” cannot be added to the group’ . What’s funny, that at the same time the CStatus says “The operation completed successfully.”. 

The object I’m trying to add is a cloned polygon mesh, parented to a model object.

Is there a reason why it doesn’t work, especially that ‘MoveToLayer’, with the same arguments, works fine?



Replies: 0
avatar

This sounds like a bug.
I also tried this method on XSI7.0, and I have the same warning message than you. But it’s not linked to the fact that the object is a clone, nor because it’s a child of a user model. It also happens on a simple null parented under the scene root model.



Replies: 0
avatar
  • mslaf
  • Posted: 04 January 2009 12:03 AM

This sounds like a bug.

I came to the same conclusion. The ‘MoveToLayer’ command works fine, so at least there’s a walkaround to this problem.



Replies: 0