Traversing the properties of Real

Can I traverse the properties of processTime in the same way that I traverse the RaycastSensor property?

Hy,

maybe something like:

for i in range(0, processTime.Value):
  print str(i)

Regards
Feature

Hello,
I tried your method, but it didn’t work.
Thank you for your answer!

Hy,

your processTime is a vcProperty! -> You can have a look in VC-Help for the reachable Properties in it! -> “.Properties” isn’t in…

The methode were PseudoCode! :wink:

Regards
Feature

Hy,

Captain says it is a vcProperty they hav’nt a property named ‘Properties’ (Use the VC-Help file with F1).
You don’t need to loop trought it because it’s alread a vcProperty and you can access it with .Name or .Value.

With a lilbit of programming skills you can play with the python inspector it’s the same as the Reflection in Java or .Net.

Greets
Max

Well, I see. Thank you for your answer.

OK, I see. Thank you for your answer.