Thanks, but the patch is definitely getting executed - it has other ports which are hooked up, and if I set an NSDictionary on the output port it works fine.
I've been doing some more investigating... You can create an output port that will hold an NSArray with @property (assign) NSArray* outputArray; but there appears to be no way of doing so dynamically. I've submitted an enhancement request, but would love to hear of any workarounds... On Jan 4, 2008 10:14 PM, Jack Hayward <[EMAIL PROTECTED]> wrote: > Not sure if this is your problem, but you will not get anything out > of your patch (into a JS patch, or by hovering) unless it is used to > generate some output - otherwise the patch does not get executed. > So you would need to peel off one member of your struct and print the > value (as an example). > > > On Jan 4, 2008, at Jan 4, 2008 | 7:20 AM, Jonathan del Strother > wrote: > > > > The documentation for QCPortTypeStructure says : > > "The port type for an array, dictionary, or other structure, such as > > an NSArray or NSDictionary object" > > > > Is this correct? When I assign an NSDictionary to an > > QCPortTypeStructure output port, it works fine. But assigning an > > NSArray to the same port seems to do nothing - hovering over the port > > in QC shows simply "Type: Structure", and 'debugging' that value by > > inputting it into a javascript patch suggests that it's NULL. > > > > Is there any way to make this work? > > Jon > > _______________________________________________ > > Do not post admin requests to the list. They will be ignored. > > Quartzcomposer-dev mailing list (Quartzcomposer- > > [EMAIL PROTECTED]) > > Help/Unsubscribe/Update your Subscription: > > http://lists.apple.com/mailman/options/quartzcomposer-dev/ > > jack.hayward%40comcast.net > > > > This email sent to [EMAIL PROTECTED] > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

