Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
With Isoview and using JavaScript language, how to list all the objects of an illustration and how to get the objects Id?
Solved! Go to Solution.
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);
}
}
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);
}
}