<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>L2Ork and Purr Data let you retrieve the GOP info with the [canvasinfo] object. Unfortunately, I don't think that there is any conventional way of doing in in Vanilla, but I can think of a hack. You could load the .pd text file itself into a [text] object
 and then search for the "coords" line, which will be the last one before all of the connections. You could use this to find the GOP area that the patch loaded with (although not any changes that have been made to it since then).</div>
<div><br>
</div>
<div>It would be more difficult, though not impossible, to implement this if you are dealing with a sub-patch within a parent-patch. You would also need to use an external if you wanted to detect the filename within the patch, for automatically loading the
 .pd file.</div>
<br>
<p></p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Esteban Viveros <emviveros@gmail.com><br>
<b>Sent:</b> 13 May 2017 16:07<br>
<b>To:</b> Liam Goodacre; PD list<br>
<b>Subject:</b> Re: [PD] How to map GOP size dynamically</font>
<div> </div>
</div>
<div>
<div dir="ltr">Thanks for response...
<div><br>
</div>
<div>Liam... I can change dimension of GOP size directly by one number in the proportion I wish. But, in edit mode, I can resize a GOP subtpatch in main patch with mouse. I want to maintain the proportion of rectangle when I slide the right side of my GOP abstraction.
 About donecanvasdialog message I found:</div>
<div><br>
</div>
<div>[donecanvasdialog <x-units> <y-units> <gop> <x-from> <y-from> <x-to> <y-to> <x-size> <y-size> <x-margin> <y-margin>(</div>
<div><br>
</div>
<div>For that I'm wanting to receive a message with value of <x-size> of donecanvasdialog message to scale out <y-to> coordinate.</div>
<div><br>
</div>
<div>Exist some message to send to $0-gopSubpatch which retrieve me a donecanvasdialog or coords messages arguments..?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">Em sáb, 13 de mai de 2017 às 01:36, Liam Goodacre <<a href="mailto:liamg_uw@hotmail.com">liamg_uw@hotmail.com</a>> escreveu:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="m_7249673627216791932divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>You can do this with a "coords" or "donecanvasdialog" message sent to the canvas (ie. using [iemguts/sendcanvas] or [send pd-canvasname.pd]).</p>
<p><br>
</p>
<p>I don't remember the arguments exactly, but you can figure them out by opening a .pd file with GOP enabled and then searching for the "coords" line at the bottom. There are 5 or 6 arguments which correspond to GOP dimensions.<br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div id="m_7249673627216791932divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Pd-list <<a href="mailto:pd-list-bounces@lists.iem.at" target="_blank">pd-list-bounces@lists.iem.at</a>> on behalf of
 Brad Garton <<a href="mailto:garton@columbia.edu" target="_blank">garton@columbia.edu</a>><br>
<b>Sent:</b> 13 May 2017 03:47<br>
<b>To:</b> Esteban Viveros<br>
<b>Cc:</b> <a href="mailto:pd-list@mail.iem.at" target="_blank">pd-list@mail.iem.at</a><br>
<b>Subject:</b> Re: [PD] How to map GOP size dynamically</font>
<div> </div>
</div>
</div>
</div>
</div>
<div dir="ltr">
<div id="m_7249673627216791932divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<div style="color:rgb(0,0,0)">
<div>
<div dir="ltr">Oh I wish we could...
<div><br>
</div>
<div>(and yes I know it's not *that* GOP)</div>
<div><br>
</div>
<div>brad</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, May 12, 2017 at 7:50 PM, Esteban Viveros <span dir="ltr">
<<a href="mailto:emviveros@gmail.com" target="_blank">emviveros@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">In vanilla can I map the GOP size? I want to resize GOP proportionally.
<div><br>
</div>
<div>Thanks any advance!</div>
<div><br>
</div>
<div>Cheers</div>
<span class="m_7249673627216791932HOEnZb"><font color="#888888">
<div> Esteban Viveros</div>
</font></span></div>
<span class="m_7249673627216791932HOEnZb"><font color="#888888">
<div dir="ltr">-- <br>
</div>
<div>
<div dir="ltr">
<p dir="ltr"><a href="http://www.estebanviveros.com" target="_blank">www.estebanviveros.com</a>
</p>
</div>
</div>
</font></span><br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank" rel="noreferrer">
https://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank" rel="noreferrer">
https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote>
</div>
<div dir="ltr">-- <br>
</div>
<div>
<div dir="ltr">
<p dir="ltr"><a href="http://www.estebanviveros.com">www.estebanviveros.com</a> </p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>