copy/move tracks - R14

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  12 December 2012
copy/move tracks - R14

just moving in to R14 recently, and seem to have hit a wall

is there a way to move or copy tracks between objects in the timeline? Prior to R14 a simple click and drag to move or command-click drag to copy

now I can't do either in R14. Maybe some new keyboard command while dragging?

I checked the manual and searched the forum - what am I missing?
 
  12 December 2012
It seems to work with cmd/ctrl+C and V as long as the target object already has the correct track there.

e.g. two cubes, one has a position track with keys in it, add a position/all track to cube two, click on position track of cube one, copy, click on position track of cube two, paste.
__________________
Cinema R15, MacOS X 10.9, iMac & MacBook Pro
www.sector3.com.au
www.3sprockets.com
www.trickstargames.com
 
  12 December 2012
Update:

The following might help
For use in ScriptManager.

Note the line
"aobj = doc.GetActiveObjects(c4d.GETACTIVEOBJECTFLAGS_SELE CTIONORDER)".
You have to "repair" it in your script as the forum broke it.

This needed an update.
Now only SELECTED tracks on the Source Objects will be copied
and existing tracks on the Target object will not be over written.

Cheers
Lennart


# copyTRAX (update) tcastudios.com©2012
#
# Select 2 Objects in the ObjectManager.
# The First Selected "Source" Objects _Selected_ Animation Tracks will
# be copied to the Second Selected "Target" Object.
# Animation Tracks on the Target Object will not be over written.
#
# NOTE: Make sure both Objects have the same type of parameters

import c4d
from c4d import gui

def main():
    aobj = doc.GetActiveObjects(c4d.GETACTIVEOBJECTFLAGS_SELE  CTIONORDER)
    if len(aobj) != 2:
        print 'Select 2 Objects'
        return True
    source = aobj[0] # First Selected Object with Animation Tracks to Copy From
    target = aobj[1] # Second Selected Object to copy the tracks to

    tracks = source.GetCTracks()
    if not tracks:
        print 'No Tracks To Copy'
        return True
    
    targettracks = target.GetCTracks() # Check tracks on Target Object
    targetnames = []
    for tt in targettracks:
        targetnames.append(tt.GetName())
        
    doc.StartUndo()
    for track in tracks:
        # Only copy selected tracks and not track already on Target
        if not track.GetNBit(c4d.NBIT_TL1_SELECT) or track.GetName() in targetnames:
            continue
        copytrack = track.GetClone()
        doc.AddUndo(c4d.UNDOTYPE_NEW,copytrack)
        target.InsertTrackSorted(copytrack)
    
    c4d.EventAdd()
    doc.EndUndo()


if __name__=='__main__':
    main()
__________________
MSA | OSX | xfiles ...Cinema4D Tools

Last edited by tcastudios : 12 December 2012 at 04:23 AM. Reason: Updated the script
 
  12 December 2012
thanks Lennart
 
  12 December 2012
copyTRAX update

Please see the updated script above.

Cheers
Lennart
__________________
MSA | OSX | xfiles ...Cinema4D Tools
 
  01 January 2013
I need some help on the usage of this script as I can't get it to copy tracks over to another object.

I select two objects in the Object Manager. And then where do I select the animated parameters I want to copy over? Do I need a dummy keyframe in the target object?
__________________
----end of line
 
  01 January 2013
You select the source track(s) you want in the Timeline.

Cheers
Lennart
__________________
MSA | OSX | xfiles ...Cinema4D Tools
 
  02 February 2013
Thanks Lennart, I needed just this feature today and your script saved me a bunch of time.

Much appreciated!

Cheers
Tim
__________________
LUXX
3D Animation and Motion Graphics
helloluxx
Professional MoGraph & VFX Training

@helloluxx
facebook
 
  02 February 2013
Happy to hear that Tim

Cheers
Lennart
__________________
MSA | OSX | xfiles ...Cinema4D Tools
 
  02 February 2013
Sorry but it can't work for me. Looks like i'm doing smth completely wrong with this script. Could somebody write step-by-step guide please?
 
  05 May 2013
Has anybody figured out a way of doing this without using the script? The copy and paste functionality is highly spotty, even applying tracks in the wrong place, and I used the previous drag and drop method frequently. Why would Maxon remove this critical workflow method which worked perfectly before?

P.S. I too have tried using this script several times to no avail.

Last edited by jackthegiantkiller : 05 May 2013 at 08:55 PM.
 
  05 May 2013
Howdy,
Originally Posted by jackthegiantkiller: Has anybody figured out a way of doing this without using the script? The copy and paste functionality is highly spotty, even applying tracks in the wrong place, and I used the previous drag and drop method frequently. Why would Maxon remove this critical workflow method which worked perfectly before?

P.S. I too have tried using this script several times to no avail.

You may be interested in my CD Transfer Tools plugin which has a command called CD Transfer Animation. This command can copy the animation tracks from one object to another or from one hierarchy of objects to another.

Here is a youtube video showing this feature:
http://www.youtube.com/watch?v=KuJpxaS8GeM

Adios,
Cactus Dan
__________________
It doesn't matter what people say about you, just as long as they're talking about you.

cactus3d.com, cactus3d-Plugins, CD Character Plugins forum
 
  05 May 2013
Looks like I'm going to have to use CD Transfer Tools after all! Maxon just acknowledged that this is indeed a bug in R14, but also followed up saying that it is unlikely to get corrected in this version and I will have to wait until freaking R15 for it to be fixed. Seriously Maxon?
 
  05 May 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:59 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.