site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Thread-topic: Compound Parameters User-agent: Microsoft-MacOutlook/14.7.6.170621 Image wells work okay too… just not easily with Motion GUI to create template, and requires hand massaging just like groups. But doable, useful and works "right" once you get the patterning of what to do. Pete Here is an email from 2013 I saved:
From: Darrin Cardani <dcardani@apple.com> You can publish image wells by creating a drop zone in Motion and putting the drop zone into the image well. Drop Zones are automatically published. Darrin
From Pete Litwinowicz: What Darrin suggests does work. No way to name the drop zone interactively as far as I can tell… so we edit the drop zone name in the .xml produced for the Motion Effect. Oh, and we have to rearrange where the drop zones are published, because they seem to always be published first, or last, regardless of the order of publishing other params. Pete
From: Pro-apps-dev <pro-apps-dev-bounces+pete=revisionfx.com@lists.apple.com> on behalf of Paul Miller <paul@fxtech.com> Reply-To: <stelefx@gmail.com> Date: Friday, August 25, 2017 at 1:41 PM To: <pro-apps-dev@lists.apple.com> Subject: Re: Compound Parameters Yeah and have fun doing that if you have 130+ effects. Oh, and it doesn't work right if you have image wells. Groan. On 8/25/17 3:39 PM, Peter Litwinowicz wrote:
Easy enough to publish a group to FCP X.
Publish a param of the group (you can't publish the group with MOtion's GUI… as Darrin correctly points out. Feature request!)
Let's say the group has ID of 9 and the param has ID of 25. (I'm taking this from some actual code I have here, hence the specifics of the numbers)
Okay, so when you open in FCP, the template will only show the param with ID 25. Close FCP. Find the motion template (.moef file). Open with a text editor.
You'll see text like this:
<publishSettings>
<version>2</version>
<target object="10013" channel="./9/25" name="Name of Param of Group"/>
<…. Other params and groups … >
</publishSettings>
Changes in bold to the first line:
<target object="10013" channel="./9" name="Name of Group"/>
So you what you are doing is basically publishing the group by taking off the "/25" off "/9/25" (which says "param with id 25 is part of group with id 9), and then you have rename the thing being published to the group name you desire.
As with other FCP groups, you'll need to go to the bar with the group name, and go the right side to expose "Hide" or "Show" text that is normally not displayed until the mouse hovers over that area.
Pete
From: Pro-apps-dev <pro-apps-dev-bounces+pete=revisionfx.com@lists.apple.com> on behalf of Lyndon Hill <lyndon@tiliam.com>
Date: Friday, August 25, 2017 at 12:48 PM To: <pro-apps-dev@lists.apple.com> Subject: Compound Parameters
Hi Guys,
Two questions please:
1. How to publish compound parameters in Motion 5 (latest version) ?
I am following the instructions at https://support.apple.com/kb/PH16056?locale=en_US
both the shortcut menu and "animation menu” have the publish option but it is greyed out.
The long version of the above:
I did a [FxParameterCreationAPI startParameterSubGroup] in my FxFilter addParameters method. There are some parameters inside the subgroup. This allows the user to neatly collapse or open the group of parameters in the inspector part of Motion and FCPX. If I try to publish the subgroup parameter in Motion, I get the menu as shown in the first picture of the support page above, but the publish option is disabled. I don’t want to publish these parameters individually.
The Motion 5 user manual https://help.apple.com/motion/mac/5.0/help/English/en/motion/usermanual/inde.... html#chapter=19%26section=7%26tasks=true
provides the same instructions as the other page.
2. How to expand a collapsed compound parameter group programatically ?
In my FxFilter parameterChanged method I can set the flag kFxParameterFlag_COLLAPSED on a parameter subgroup to collapse it, but setting the parameter flags to kFxParameterFlag_DEFAULT does not expand it again. I’m pretty sure I tried all the other flags, but did not get any success.
I am using FxPlug 3.
thanks in advance,
Lyndon Hill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/pro-apps-dev/pete%40revisionfx.com
This email sent to pete@revisionfx.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/paul%40fxtech.com
This email sent to paul@fxtech.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/pete%40revisionfx.com This email sent to pete@revisionfx.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com