What information can I get out of msg, in Timer?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 15/07/2012 at 11:44, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C.O.F.F.E.E ;---------
If I define a Timer event on a dialog, when type of information can I get from the msg container that I get in Timer([BaseContainer] msg); ? -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/07/2012 at 07:04, xxxxxxxx wrote:
I don't do much COFFEE, so I'm not sure if you could do something similar to this or not...
LONG id, i=0; while (TRUE) { id = bc.GetIndexId(i++); if (id==NOTOK) break; GeData data = bc.GetData(id); switch(data.GetType()) { case DA_NIL: GePrint("id: "+LongToString(id)+" - DA_NIL"); break; case DA_VOID: GePrint("id: "+LongToString(id)+" - DA_VOID"); break; case DA_LONG: GePrint("id: "+LongToString(id)+" - DA_LONG"); break; case DA_REAL: GePrint("id: "+LongToString(id)+" - DA_REAL"); break; case DA_TIME: GePrint("id: "+LongToString(id)+" - DA_TIME"); break; case DA_VECTOR: GePrint("id: "+LongToString(id)+" - DA_VECTOR"); break; case DA_MATRIX: GePrint("id: "+LongToString(id)+" - DA_MATRIX"); break; case DA_LLONG: GePrint("id: "+LongToString(id)+" - DA_LLONG"); break; case DA_BYTEARRAY: GePrint("id: "+LongToString(id)+" - DA_BYTEARRAY"); break; case DA_STRING: GePrint("id: "+LongToString(id)+" - DA_STRING ("+data.GetString()+")"); break; case DA_FILENAME: GePrint("id: "+LongToString(id)+" - DA_FILENAME ("+data.GetFilename().GetString()+")"); break; case DA_CONTAINER: GePrint("id: "+LongToString(id)+" - DA_CONTAINER"); break; case DA_ALIASLINK: GePrint("id: "+LongToString(id)+" - DA_ALIASLINK"); break; case DA_MARKER: GePrint("id: "+LongToString(id)+" - DA_MARKER"); break; case DA_MISSINGPLUG: GePrint("id: "+LongToString(id)+" - DA_MISSINGPLUG"); break; case DA_CUSTOMDATATYPE: GePrint("id: "+LongToString(id)+" - DA_CUSTOMDATATYPE"); break; } }
...of course that's a brute-force approach - hopefully support can give you a better answer.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/07/2012 at 07:44, xxxxxxxx wrote:
Thank you Giblet.
That will tell me what type of information is there. But it will not tell me what the information is about
Why isn't the msg from the Timer documented?Rui Batista
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/07/2012 at 01:15, xxxxxxxx wrote:
The msg container for GeDialog::Timer() is empty.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/07/2012 at 01:21, xxxxxxxx wrote:
Weird. So, what is it good for?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/07/2012 at 03:36, xxxxxxxx wrote:
I assume Maxon added this parameter for possible extensions that might require this argument or information to be passed via a Container.
-Nik