hi,
is there any way to query a GOP's full coordinates ?
i'm looking specifically for the margin values to do some nested GOP mouse tracking.
i tried IEMGUTS [canvasposition] but, that only outputs the GOP's size, not its margins.
[receivecanvas] ---> setbounds only outputs the coordinates of a real canvas, not a GOP
may there be any undocumented voodoo method out there ?
best
oliver
That might not be the case but...
if you're in Purr Data you can use [canvasinfo] with the |coords( message.
I've never done it in vanilla, though.
Cheers Henri.
De: Pd-list pd-list-bounces@lists.iem.at em nome de oliver oliver@klingt.org Enviado: sábado, 27 de outubro de 2018 17:55 Para: pd-list@mail.iem.at Assunto: [PD] get GOP margins ? ...
hi,
is there any way to query a GOP's full coordinates ?
i'm looking specifically for the margin values to do some nested GOP mouse tracking.
i tried IEMGUTS [canvasposition] but, that only outputs the GOP's size, not its margins.
[receivecanvas] ---> setbounds only outputs the coordinates of a real canvas, not a GOP
may there be any undocumented voodoo method out there ?
best
oliver
-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\ /////////////// http://pendler.klingt.org ////////////// \\\\\\\\ http://oliver.klingt.org \\\\\\\ ////////////////////////////////////////////////////////
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
I don't think that there's an external for this, but if it's voodoo you're after, you could load the .pd file into [text] and then query the last line. "#X coords ..." will give you the starting values of the GOP settings. ________________________________ From: Pd-list pd-list-bounces@lists.iem.at on behalf of oliver oliver@klingt.org Sent: 27 October 2018 21:55 To: pd-list@mail.iem.at Subject: [PD] get GOP margins ? ...
hi,
is there any way to query a GOP's full coordinates ?
i'm looking specifically for the margin values to do some nested GOP mouse tracking.
i tried IEMGUTS [canvasposition] but, that only outputs the GOP's size, not its margins.
[receivecanvas] ---> setbounds only outputs the coordinates of a real canvas, not a GOP
may there be any undocumented voodoo method out there ?
best
oliver
-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\ /////////////// http://pendler.klingt.org ////////////// \\\\\\\\ http://oliver.klingt.org \\\\\\\ ////////////////////////////////////////////////////////
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Liam Goodacre wrote:
I don't think that there's an external for this, but if it's voodoo you're after, you could load the .pd file into [text] and then query the last line. "#X coords ..." will give you the starting values of the GOP settings.
yeah, that's my plan B. i was hoping for something straight-forward to achieve this. anyway it's not a big issue.
i was just hoping, that since you can SEND a complete coordinates message to a namecanvas, that it might work the other way round, too.
thanks for all replies !
best
oliver
*From:* Pd-list pd-list-bounces@lists.iem.at on behalf of oliver oliver@klingt.org *Sent:* 27 October 2018 21:55 *To:* pd-list@mail.iem.at *Subject:* [PD] get GOP margins ? ... hi,
is there any way to query a GOP's full coordinates ?
i'm looking specifically for the margin values to do some nested GOP mouse tracking.
i tried IEMGUTS [canvasposition] but, that only outputs the GOP's size, not its margins.
[receivecanvas] ---> setbounds only outputs the coordinates of a real canvas, not a GOP
may there be any undocumented voodoo method out there ?
best
oliver
-- \\\\\\\\\\\\\\\\\\\\\\\\\\\\ /////////////// http://pendler.klingt.org ////////////// \\\\\\\\ http://oliver.klingt.org%C3%82%C2%A0 \\\\\\\ ////////////////////////////////////////////////////////
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
or you setup your patch with a configuration file, where all the values
are stored. It's the same idea as querying the .pd file itself, but
cleaner.
But this is a good idea, you should make a request to Miller for it.
Liam Goodacre wrote:
I don't think that there's an external for this, but if it's voodoo
you're after, you could load the .pd file into [text] and then query
the last line. "#X coords ..." will give you the starting values of the
GOP settings.yeah, that's my plan B. i was hoping for something straight-forward to
achieve this. anyway it's not a big issue.i was just hoping, that since you can SEND a complete coordinates
message to a namecanvas, that it might work the other way round, too.thanks for all replies !
best
oliver
*From:* Pd-list pd-list-bounces@lists.iem.at on behalf of oliver
oliver@klingt.org *Sent:* 27 October 2018 21:55 *To:* pd-list@mail.iem.at *Subject:* [PD] get GOP margins ? ... hi, is there any way to query a GOP's full coordinates ? i'm looking specifically for the margin values to do some nested GOP mouse tracking. i tried IEMGUTS [canvasposition] but, that only outputs the GOP's size, not its margins. [receivecanvas] ---> setbounds only outputs the coordinates of a real canvas, not a GOP may there be any undocumented voodoo method out there ? best oliver -- \\\\\\\\\\\\\\\\\\\\\\\\\\\\ /////////////// http://pendler.klingt.org ////////////// \\\\\\\\ http://oliver.klingt.org \\\\\\\ //////////////////////////////////////////////////////// _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list