Cycling74 / min-devkit

Tools, documentation, and reference implementation of a Max Package built using the Min-API.
MIT License
158 stars 31 forks source link

Obex and what's happening in the patcher #125

Open jdchart opened 5 years ago

jdchart commented 5 years ago

Hi, I was looking though the documentation this morning and couldn't find any examples of objects accessing the obex, accessing info about the patcher, project, state of objects etc. (for example like the howbigismyp object in the c max dev kit). I'm wanting to make some objects to query the amount of objects in a patcher, the state of objects (of a number box for example), which objects are connected to what, have my own version of pattr ect. Are there any resources for this? Thanks!

tap commented 4 years ago

This is a great request. We don't currently have any resources for that in the Min-API. You will have to use traditional Max API calls within Min to achieve that, which is is possible if mildly unpleasant.

jamesb93 commented 4 years ago

I've seen the new min.patcher.control object, but it doesn't seem to work even though it compiled just fine. When I query anything I get no returns and when I query the amount of boxes I get 0 so I assume there are still some issues with it getting all of the boxes in a patcher?

tap commented 4 years ago

Hi @jamesb93 -- I have done some more work to improve this and there is now also a new example called min.remote, which is still in its fledgling stages.

If these still aren't working, can you please send me your support info (that includes the Max version, OS version, settings that may impact the behavior of the bug, etc)?

Thanks!