Hi, i m using a simple VSL function to get the objects from Collection
but i m getting Execution Error
this is my code
void main()
{
// Insert your code here
// myObjectArray is ObjectArray(collection) type
for(int k=0;k<myObjectArray.Size();k++)
{
Object obj=NULL;
Entity3D ent;
String name;
ent = Entity3D.Cast(myObjectArray[k]);
name =obj.GetName();
if(name==token)
{
ent.Show(CKHIERARCHICALHIDE);
}
}
}
Please do help me asap.