try Creo 2.0 M130 - in this datecode the function ProSolidDispCompVisit()works again as you expect it to work!
It recursively visits all subassemblies and parts. Works also again with simpreps - visits only comps that are currently INCLUDED in the current simprep. The documentation says that it works only on shown layers - I cannot confirm this since I never put models on a layer...
MCAD Services Pro/E & Pro/E customization
Am Wartfeld 7
phone: +49 151 21259910