Author Topic: Function arguments  (Read 702 times)

How do I find these out on my own.

I tried using trace(1); and for a certain function it gave me a bunch of object ID's but I don't know what any of them are to


that and these too:

ID.dump();

ID.getName();

If it's a number less than or around 2000, it's likely a datablock. Use .getName()
If it's 3 numbers before a comma, it's position or velocity.
If it's 7, then it's position and rotation.
If it's a high number, likely an object. Use .getClassName()
In some cases, it might just be a number because it's a number, or even a string. Like 15 being the 16th color and not object 15.