Hello Nisar,

for images there is a hacky way: You can use an "Image Dimension" patch and 
see, if it spits out a valid "Pixels Wide" value (e.g. ">0"). For meshes I 
don't know if there is such a test, but you will not need it anyways, if your 
structure only contains images or meshes.

best,

Achim Breidenbach
Boinx Software


On 13.05.2011, at 14:36, Nisar Ahmed wrote:

> Dear Members,
> 
> Is there a way to detect and find out the type of an output port. I have a 
> structure which can contain mesh or image, I need to know what type of object 
> it contains at a specified index so that I can select and render it with the 
> appropriate consumer for at runtime.
> 
> Thanks
> Nisar
> _______________________________________________
> 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/achim%40boinx.com
> 
> 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]

Reply via email to