Hello Micah,
yes it works, kinda-like. The only problem is that your plugin need to know which file it should look out for. You can't save the identification into a custom parameter, but you can save it in a hidden slider.
A possible (not fully tested) solution would be:
- Plugin gets called
- Plugin creates a random number
- Random number gets applied to an invisible slider.
- The value of the slider is then the identification for the (hidden) file with all the data your plugin needs.
A problem might be that you can't move your project file from one computer to another.
Christoph Vonrhein
On Jul 26, 2011, at 1:14 PM, Micah Sharp wrote:
This might be a kind of stupid question, but maybe the Pro Apps guys know if this would work.
What about if I stored the data myself in a file and used "addStringParameterWithName" as a hidden parameter to keep track of the file name for loading/saving? Would perhaps work better if initWithEncoder and encodeWithCoder still get called so I know when to do it. Nasty but maybe an idea for a hack work around? Would mean one extra file per saved plug-in instance, with no way of deleting that file ever I guess.
Micah
On Tue, Jul 26, 2011 at 3:26 AM, Pauli Ojala
<email@hidden> wrote:
On 26.7.2011, at 6.06, Micah Sharp wrote:
> Sorry for a redundant question if this came up already (which I think it has).
>
> I have plug-in that has a giant blob of custom data as it's main parameter.
>
> Did I read correctly that in FCPX custom parameters are not stored when the project is saved so it isn't possible to keep custom data persistent?
Unfortunately that seems to be the case. The custom data persists during the FCP X session, but gets reset to its default value when FCP X is closed and reopened.
It can't hurt if you file another bug report about this...
--
Pauli Ojala
Lacquer oy/ltd
email@hidden
--
Micah Sharp
RedGiant.com | RedGiantTV.com | RedGiantPEOPLE.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (
email@hidden)
This email sent to
email@hidden
_______________________________________________
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