Re: Targeting a bin with XML
Re: Targeting a bin with XML
- Subject: Re: Targeting a bin with XML
- From: Martin Baker <email@hidden>
- Date: Thu, 15 May 2008 18:19:11 +0100
Yikes. Thanks Greg and Eryk, that's kinda depressing to hear though.
I was assuming that the "does nothing" would not halt the import process for any child items inside the bin but that seems to be what's happening.
[off to file a bug/feature request]
Martin www.digital-heaven.co.uk The hottest tools for the coolest apps ------------------------------------------------------ LifeShaker: The humble to-do list. Redone. www.funkycloud.com/lifeshaker ------------------------------------------------------ Digital Heaven Ltd is registered in England and Wales Company registration number: 3628396 Registered address: 55 Lynwood Drive, Worcester Park, Surrey KT4 7AE VAT registration number: GB 736 0989 03 On 15 May 2008, at 17:07, Eryk Vershen wrote: Martin,
Here's the short answer - the only way add a clip to a bin is to replace the entire bin and its contents. This behavior is documented in the Final Cut Pro XML Interchange document.
Greg's suggestion does not work.
Personally, I've always considered this state of affairs to be a bug.
-eryk
On May 15, 2008, at 8:28 AM, Gregory Clarke wrote: Hi Martin,
Reading the spec, it doesn't look like the updatebehavior tag will do what you want it to. Here's the description of addifnotfound: - Adds the imported component to the project provided the target component is not found. If the target component is found, does nothing.
Which will do nothing in your case because the bin is found!
I guess the way to achieve what you want is to append your clips' XML to the children tag of the appropriate bin. Then I'm guessing that setting the bin's updatebehavior to "replaceoradd" will replace the old bin with the new bin containing the original and extra clips.
Hope this helps,
Greg
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden