Character object handles
On 10/07/2016 at 06:12, xxxxxxxx wrote:
I'm trying to improve my piton script knowledge.
Is there a way to retrieve a list of all character object handles?
On 11/07/2016 at 01:41, xxxxxxxx wrote:
Hello and welcome,
the Character object does not provide a dedicated API so there might be certain tasks that cannot be done in Python. Can you tell us what exactly you mean with "character object handles"?
On 11/07/2016 at 08:25, xxxxxxxx wrote:
I mean this:
_<_img src="http://c4dgames.com/imgs_ext_for/tmp/handles.jpg" height="563" width="435" border="0" /_>_
On 11/07/2016 at 08:48, xxxxxxxx wrote:
# access "Object" parameter on the Component tag data = tag[c4d.ID_CA_RIGPART_TAG_HANDLES_INCLUDE] # get number of elements in list count = data.GetObjectCount() # loop list for i in xrange(count) : # get element at the given index obj = data.ObjectFromIndex(doc, i) print(obj)
On 11/07/2016 at 14:46, xxxxxxxx wrote:
thank you very much for your help.