Programmatically add Magic Bullet Looks Effect

Gary James wrote on 9/2/2013, 5:13 PM
I installed the MBL trial and was playing around adding an MBL Effect to a Vegas Event with a specific Preset selected. That's when I made the startling discovery that MBL does not behave like all other Vegas PlugIns when the PlugIn is added to an Events Effects Collection.

Normal Vegas PlugIns automatically create a default keyframe at Time Zero that sets the configuration settings for the rest of the Events duration on the timeline. MBL does NOT do this. And any attempt to programmatically add ANY keyframe at Time Zero or anywhere else results in an exception being thrown.

I've tried several different ways of doing this but all attempts result in MBL throwing an exception. Does anyone know of a back-door technique of doing this?

Comments

Gary James wrote on 9/3/2013, 11:08 AM
I don't know if this is the proper way to treat this situation, but I have found that if I find the Keyframe count on the added MBL Video Effect to be zero, I can set my Selected Preset to the Video effects Preset property, rather than a Keyframe's Preset property. This works, but it means that only one Preset can be applied to the entire time duration of the Event. So, Preset based Keyframing is not supported.