Morph
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/02/2004 at 00:06, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;---------
hi,
I am working on a project with coffee and I will use MorphObject but there ýs a býg problem for me, which is I cannot reach to morph keys. if you can send me a piece of a small code about ýt, it will be greatly appreciatedç
Thanks -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/02/2004 at 17:04, xxxxxxxx wrote:
Starting with 8.5 it's possible to access the object link in the morph key with:
enum { MORPHKEY_LINK = 1001, MORPHKEY_BIAS = 1002, // real MORPHKEY_CUBIC = 1003 // bool } main(doc,op) { var obj = doc->GetFirstObject(); var track = obj->GetFirstTrack(); var seq = track->GetFirstSequence(); var key = seq->GetFirstKey(); var bc = key->GetContainer(); var link = bc->GetObject(MORPHKEY_LINK, doc); println(link->GetName()); }
(It isn't possible in earlier versions, since there's no GetObject() function.)