<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi<div><br></div><div>If you generate the sphere with a constructor&nbsp;</div><div>you create an ID for each abstract generated</div><div><br></div><div>for example</div><div><br></div><div>[metro 2] (or uzi or until]</div><div>I</div><div>[f]X[+ 1]</div><div>I</div><div>[pack f f f] the first is the ID of the sphere the second and third positionXY&nbsp;</div><div>I</div><div>[obj 1 1 abs-sphere $1 $2 $3(</div><div>I</div><div>[s pd-subreceiveabstractsph]</div><div><br></div><div>and in this process you inser a second way that implements the coordinates of each sphere in a .txt with [msgfile]&nbsp;</div><div>and you save the number of abstract, and when you start your patch, you call the coordinates in the &nbsp;.txt. If you change the position, you can, rewrite this with the fonction goto and append. The goto is depending of ID and append is the new positionXY.&nbsp;</div><div><br></div><div>p</div><div><br></div><div><br></div><div><br></div><div><br><div><div>Le 7 nov. 2010 à 07:14, adam sanches a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">maybe i wasnt clear:<br><br>i have this patch:<br><br>gemhead<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>repeat 30<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>translateXYZ 10 10 0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>sphere <br><br><br>how can i save the coordinates of the 30 geos into a .txt file?<br>i would like to have my txt in this way:<br>
sphere1 x: 20 y: 20<br>sphere2 x: 23 y: 34<br>sphere2 x: 13 y: 4<br>....and so on<br><br><br>how can i do this?<br><br>Thanks<br><br>A.<br><br><br><br><div class="gmail_quote">2010/11/6 adam sanches <span dir="ltr">&lt;<a href="mailto:adam.sanches@gmail.com">adam.sanches@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi, i&nbsp; need to save into a .txt file all the positions of iterated spheres made with repeat from zexy;<br>
<br>which mechanism do i need to get the individual position of each geo in the iterated chain?<br><br>thanks<br>
</blockquote></div><br>
_______________________________________________<br><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br></div></body></html>