Get index of calling folder object
int GetIndex( )
return the Index of current object in collection which begin with 0.
EX1
void GetIndex_Ex1() { Folder fld = Project.ActiveFolder(); if(fld.IsValid()) { int iIndex=fld.GetIndex(); printf("The Index of Current Folder is: %u", iIndex); return; } printf("there is no active folder in current project"); }
origin.h