cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

With Isoview and using JavaScript language, how to list all the objects of an illustration ?

dgopois
12-Amethyst

With Isoview and using JavaScript language, how to list all the objects of an illustration ?

With Isoview and using JavaScript language, how to list all the objects of an illustration and how to get the objects Id?

1 ACCEPTED SOLUTION

Accepted Solutions
dgopois
12-Amethyst
(To:dgopois)

See below the function to list objects:

function listObjects()
{
var ObjID = new Array();
var ObjName = new Array();

for ( n = 0; n < document.ivx1.Iso3GetObjectCount(); n++)
{
ObjID[n] = document.ivx1.Iso3GetObjectIDByIndex(n);
ObjName[n] = document.ivx1.Iso3GetObjectNameByIndex(n);
}

}

View solution in original post

1 REPLY 1
dgopois
12-Amethyst
(To:dgopois)

See below the function to list objects:

function listObjects()
{
var ObjID = new Array();
var ObjName = new Array();

for ( n = 0; n < document.ivx1.Iso3GetObjectCount(); n++)
{
ObjID[n] = document.ivx1.Iso3GetObjectIDByIndex(n);
ObjName[n] = document.ivx1.Iso3GetObjectNameByIndex(n);
}

}

Top Tags