Ah awesome yes this works. Thanks.
animAction = si.StoreAction(ctrlsLayer, params.GetAsText(), 6,
"myAction", False, 1001, 1035, "", "", "", 1, "")
newClip = scnRoot.AddActionSource("newAction", [x.Target for x in
animAction.SourceItems], [x.Source for x in animAction.SourceItems])
Thanks Peter
On Wednesday, December 03, 2014 3:45:15 PM, Peter Agg wrote:
Model.AddActionSource should do the trick then. You should be able to
pull the array data from your existing source.SourceItems, from what I
can tell.
On Wed, 3 Dec 2014 19:57 Eric Turman <[email protected]
<mailto:[email protected]>> wrote:
D&D resorts to a CopyPaste command under the hood. CopyPaste is
much slower than using an Object Model
On Wed, Dec 3, 2014 at 1:48 PM, Peter Agg
<[email protected] <mailto:[email protected]>> wrote:
Through the UI? Just drag it into the Mixer of the model (or
ctrl drag to copy). If there's no mixer then just open the
panel and it'll make a new one.
On Wed, 3 Dec 2014 19:05 Eric Thivierge
<[email protected] <mailto:[email protected]>> wrote:
Hi all, having a brain fart / can't recall how to do this.
Is there a way to re-parent an action source from one
model to the other
without using the CopyPaste command?
Thanks,
Eric T.
--
-=T=-