THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/02/2009 at 05:32, xxxxxxxx wrote:
Cinema 4D Version: 11
Platform: Windows ;
Language(s) : C.O.F.F.E.E ; XPRESSO ;
Hi guys, I'm about to start my first coffee plugin - I'm new to both coffee and programming, though I've been familier with some of the concepts and with xpresso for some time.
My plugin needs to access the Selection Object's 'Selection List' parameter. I want to be able to load a reference to the object(s) into variables.
By dragging into the console, I have found out the data is called SELECTIONOBJECT_LIST but I'm unable to access the contents.
If I put the following into a coffee tag on the selection object :
It gives an error 'object not found'
I also tried to do it for just one of the objects in the list :
but I get a syntax error. I am not sure on the syntax for accessing a particular selection object in the list.
Can anyone help?
On a related note, is there a command that will allow me to interogate an object so it will return all its data types, so I can see the names and syntax (I especially want to know if the Sleection Object has a data that stores the number of objects in it's list).
Thanks for your help.