hi thanks for your reply , this is a part of my code im using the CStatus cref.set
like this but when im running my plug, xsi said <<"Mybject.myobject" can not be added to the group>> it seems he not find my obj in my scene but everything is there i made a test with the jscript dictionary getobject(Mybject.myobject" ) ans everything is fine ; i dont know wath im doing wrong thanks
Group MyPartition = MyNewPartition[0];//get the new created partition
CRef PMember;
for (LONG CSA =0;CSA < PReadMembers.GetCount();CSA++) //PMyMembers is a CStringArray of element took from a XML document
{ //and all object ares in my current
scene.
PMember.Set(PReadMembers[CSA]); //Put My SCtring to a CRef .Set()
MyPartition.AddMember(PMember); //Add this obj to my new partition
}
Christopher Crouzet <christopher.crouzet(at)gmail.com> a écrit :
As you can guess by it's name, CRefArray is a collection of CRef
objects that you can add/remove from.
In the documentation, you can see that there is a method in the CRef
class to get what you need : 'CRef::Set(CString& in_str)'
On 17/04/2008, Dominic Belanger
wrote:
> hi , i need to Convert a CStringArray to CRefArray , i have collected a
> members list from a xml file , now i have to pass this array to
> .addMembers(CRefArray)
>
> if anyone have an idea . .. Thanks
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
#32;
Découvrez les styles qui font sensation sur
Yahoo! Québec Avatars