Quantcast
Channel: 3DVIA.com Forums Forum: VSL - Recent Posts
Viewing all articles
Browse latest Browse all 30

rathina on "get 3d Entity from ObjectArray"

$
0
0

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.


Viewing all articles
Browse latest Browse all 30

Trending Articles