Hi Christof,

> Can you tell what do you want to achieve exactly? How do you know that the 
> object you want to pass the data to already exists? Couldn't you use 
> something like an 'init' method together with loadbang or initbang to pass 
> the argument to other objects in a deterministic way? This would seem much 
> safer to me…

Yes, your suggestion is safer but I’m I’m curious to know if it works. The 
scenario is unique and specific to my own patch where the object will 
definitely have a number atom connected to its outlet. 

> If you really want to do it on creation time, just pass the argument(s) to 
> your outlet(s) right in the new-method. Again, not sure if that's a good idea 
> at all!

Yes, I guess what I’m asking is what would be the most efficient way to do 
this. I can’t seem to get the arg to output to the float on creation. It may 
not even be possible...

Ricky

> 
> -----Ursprüngliche Nachricht-----
> Gesendet: Freitag, 22 Juli 2016 um 12:51:15 Uhr
> Von: "Ricky Graham" <[email protected]>
> An: [email protected]
> Betreff: [PD] Pass External Argument as Output on Creation
> Hi all,
> 
> Quick question for C folks: what’s the best way to pass an arg (e.g. [object 
> 2]) to an outlet immediately on creation? Curious to know if I’m going about 
> this in the most efficient way possible.
> 
> Cheers!
> 
> Ricky
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to