For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages


MAIRE's picture


did somebody explains the use of an AIS_ListOfInteractive.
I put AIS_xxx with the "Append" method, but how can I do a loop from first to last element ?
Thanks for answers.
Best regards

Hugues DELORME's picture

You perform traversal of Open Cascade List objects with list iterators.
To traverse an AIS_ListOfInteractive object, use a AIS_ListIteratorOfListOfInteractive object :

AIS_ListOfInteractive list;
//fill the list ...
AIS_ListIteratorOfListOfInteractive it (list);
//iterate on list:
while (it.More ())
//do something with the current item : it.Value ()
it.Next ();

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.